[Freeciv-Dev] canonical MinGW, configure suspicions
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Brandon J. Van Every writes:
> From: Andreas Kemnade
> > Brandon J. Van Every writes:
> > >
> > > I have:
> > > /mingw/include/_mingw.h
> > > /mingw/include/windows.h
> > > /usr/include/png.h
> > > /usr/include/zlib.h
> > >
> > Then move /usr/include/png.h and /usr/include/zlib.h to /mingw/include
> > Something similar has to be done for the libs.
> >
> > > What is MSYS's canonical include search path called? Is it an
> > > enviornment variable? I do not see any obvious one. What is the
> > > canonical way to get /usr/include searched?
> >
> > Don't do that.
> > /usr/include is meant for cygwin use.
>
> This makes no sense to me. /usr/include is not "Cygwin's property,"
> it's a canonical UNIX directory name from time immemorial. I understand
> that your suggestions may solve the problem. But it is not The Right
> Way to solve the problem. If a UNIX-alike environment or a configure
> script can't detect /usr/include and /usr/local/include, it is broken.
>
You are right: /usr/include is not Cygwin property.
It is searched by default on every UNIX alike environment.
But using "-mno-cygwin" turns that off because mingw uses other
includes. To seperate them, they have to be in an other
directory. If you have cross compilers, the canonical include path
will be $prefix/$target/include.
So not every gcc installation has to use /usr/include.
I only try the cygwin stuff before releases or before critical changes
to the autoconf stuff. ./configure && make takes 80 minutes on my
system. Doing that with a windows cross compiler from linux,
it takes 15-20 minutes to do the build. You guess what I do the most
time. So I don't know about every possibility how cygwin/mingw can be
installed and I can only use general knowledge about gcc and friends
to help you.
BTW: on debian you can just do apt-get install mingw32
to get a cross compiler.
Greetings
Andreas Kemnade
- [Freeciv-Dev] Re: configure won't find libpng on MinGW, (continued)
- [Freeciv-Dev] Re: configure won't find libpng on MinGW, Brandon J. Van Every, 2003/11/01
- [Freeciv-Dev] Re: configure won't find libpng on MinGW, Andreas Kemnade, 2003/11/01
- [Freeciv-Dev] canonical MinGW, configure suspicions, Brandon J. Van Every, 2003/11/01
- [Freeciv-Dev] building libpng on MinGW?, Brandon J. Van Every, 2003/11/01
- [Freeciv-Dev] Re: building libpng on MinGW?, Per I. Mathisen, 2003/11/02
- [Freeciv-Dev] Re: building libpng on MinGW?, Andreas Kemnade, 2003/11/03
- [Freeciv-Dev] Re: building libpng on MinGW?, Per I. Mathisen, 2003/11/03
- [Freeciv-Dev] Re: building libpng on MinGW?, Raimar Falke, 2003/11/02
- [Freeciv-Dev] Re: building libpng on MinGW?, Vasco Alexandre Da Silva Costa, 2003/11/02
- [Freeciv-Dev] Re: building libpng on MinGW?, Per I. Mathisen, 2003/11/02
- [Freeciv-Dev] canonical MinGW, configure suspicions,
Andreas Kemnade <=
|
|