On 04/30/2010 03:29 AM, Peter Åstrand wrote: >> Do you use MinGW on Windows or as a cross compiler on some other >> platform? >> >> I'm new to mingw (and using it as cross compiler), so I dont really know >> how to proceed past: >> cd tigervnc/trunk/win >> Any more pointers would be much appreciated. > > Use a distro that includes MinGW, such as recent Fedora versions. Fedora - check. > Install the mingw32 packages. Check. > Then, try something like (untested): > > cd tigervnc/trunk > autoreconf -fi > ./configure --host=i686-pc-mingw32 > make Almost there... but fails on libjpeg, so I also tried ./configure --host=i686-pc-mingw32 --with-system-jpeg same problem:
libtool: link: i686-pc-mingw32-ranlib .libs/libjpeg.a libtool: link: rm -fr .libs/libjpeg.lax libtool: link: ( cd ".libs" && rm -f "libjpeg.la" && ln -s "../libjpeg.la" "libjpeg.la" ) g++ -DHAVE_CONFIG_H -I. -O3 -MT jpgtest.o -MD -MP -MF .deps/jpgtest.Tpo -c -o jpgtest.o jpgtest.cxx mv -f .deps/jpgtest.Tpo .deps/jpgtest.Po i686-pc-mingw32-gcc -DHAVE_CONFIG_H -I. -O3 -MT bmp.o -MD -MP -MF .deps/bmp.Tpo -c -o bmp.o bmp.c mv -f .deps/bmp.Tpo .deps/bmp.Po i686-pc-mingw32-gcc -DHAVE_CONFIG_H -I. -O3 -MT turbojpegl.o -MD -MP -MF .deps/turbojpegl.Tpo -c -o turbojpegl.o turbojpegl.c mv -f .deps/turbojpegl.Tpo .deps/turbojpegl.Po /bin/sh ./libtool --tag=CXX --mode=link g++ -O3 -o jpgtest.exe jpgtest.o bmp.o turbojpegl.o libjpeg.la libtool: link: g++ -O3 -o .libs/jpgtest.exe jpgtest.o bmp.o turbojpegl.o ./.libs/libjpeg.a bmp.o: file not recognized: File format not recognized collect2: ld returned 1 exit status make[5]: *** [jpgtest.exe] Error 1 Any ideas? (feels tantalizingly close) Thanks Antoine > > Best regards, > Peter Åstrand > >>> On 4/28/10 5:22 PM, Antoine Martin wrote: >>> >>>> Hi, >>>> >>>> Is building with mingw supported now? >>>> Last time I sent some patches for building with Visual Studio C++ 2008 >>>> V9, I was told: >>>> >>>> "we're going to start building with MinGW >>>> at some point in the not-so-distant future" >>>> >>>> http://www.mail-archive.com/tigervnc-devel@lists.sourceforge.net/msg00440.html >>>> >>>> >>>> >>>> Cheers >>>> Antoine >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> Tigervnc-devel mailing list >>>> Tigervnc-devel@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/tigervnc-devel >>>> >>> ------------------------------------------------------------------------------ >>> >>> >>> _______________________________________________ >>> Tigervnc-devel mailing list >>> Tigervnc-devel@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/tigervnc-devel >>> >> >> >> ------------------------------------------------------------------------------ >> >> >> _______________________________________________ >> Tigervnc-devel mailing list >> Tigervnc-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/tigervnc-devel >> > > > --- > Peter Åstrand ThinLinc Chief Developer > Cendio AB http://www.cendio.com > Wallenbergs gata 4 > 583 30 Linköping Phone: +46-13-21 46 00 ------------------------------------------------------------------------------ _______________________________________________ Tigervnc-devel mailing list Tigervnc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tigervnc-devel