This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: setup releases


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

tvoverbe@cistron.nl 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
>  
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]