[Mapserver-users] Compiling GDAL by MinGW
Norman Vine
nhv at cape.com
Thu Aug 7 18:52:40 PDT 2003
Hisaji Ono writes:
>
> >
> ./configure --with-libz=internal --with-png=internal --with-libtiff=internal
> \
> > --with-geotiff=internal --with-jpeg=internal .... other configure args
>
> I could build GDAL-1.1.8 by above sample.
>
> But these build libraries & applications for Cygwin?
>
> For compiling, no requires to set flag "-mno-cygwin" for gcc & g++?
> >
Yes, you need to set the compiler like you did initially
i.e.
CC='gcc -mno-cygwin' CXX='g++ -mno-cygwin' \
./configure --with-libz=internal --with-png=internal --with-libtiff=internal \
--with-geotiff=internal --with-jpeg=internal \
$OTHER_LOCAL_CONFIGURE_OPTIONS
make sure you replace $OTHER_LOCAL_CONFIGURE_OPTIONS
with your desired options
If you still need further help please ask on the gdal list
HTH
Norman
More information about the MapServer-users
mailing list