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


> > 
> > 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]