[Mapserver-users] Compiling GDAL by MinGW

Norman Vine nhv@cape.com
Thu, 7 Aug 2003 21:52:40 -0400


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
 
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users