Don't forget to: "ln -s /usr/include/g++-3 /usr/include/mingw/g++-3" (which is not needed in this case due to flags, but is useful for other -mnocygwin compiles).
Not to stir up controversy, but is there a reason why the mingw libstdc++.a and the symbolic link aren't setup by the installer? Cheers, Nicholas [EMAIL PROTECTED] wrote: >>>It doesn't. It can optionally, and with a bit of tweaking, be built >>>against cygwin1.dll. In the future this willg et easier. The >>>downloadable setup.exe will always be a mingw application. >>> >>> >>> >>... but by default it seems to link to the cygwin dll, how do I avoid this ? >> >> >> > >Use Rob's configure options documented on: >http://sources.redhat.com/cygwin-apps/setup.html. >That will produce a mingw executable. >Quoting from that page: >----------------------------------------------------------- >To build setup in the same way that the net distribution's >binaries are built, configure setup on a cygwin machine with >the following command: ".../setup/configure -C >--enable-dependencies --disable-shared >--host=i686-pc-mingw32 --build=i686-pc-cygwin >'CC=gcc -mno-cygwin' 'CXX=g++ -mno-cygwin' >CPPFLAGS=-I/usr/include/g++-3 --enable-maintainer-mode". >To successfully build such a setup you will need a mingw >libstdc++.a file for the cross-compiler to link against >One can be found in the mingw gcc binary, simply place >the library in /usr/lib/mingw/. >----------------------------------------------------------- > >Ton van Overbeek > >
