OT: mingw libs with cygnus

Hello,

Is it possible to use cygwin tools and link with mingw
runtime dlls instead of cygwin.dll?
If it is possible how can I do this.

Thanks
Tom__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

gcc -mno-cygwin
so you wouldn’t link with cygwin’s dll

or maybe configure --target=i386-pc-mingw32 (i believe)

Tomas Brixi wrote:

Hello,

Is it possible to use cygwin tools and link with mingw
runtime dlls instead of cygwin.dll?
If it is possible how can I do this.

Some kind of docs will tell you to use -mno-cygwin.
This may show to be the answer to “link with mingw"
but it is not enough to actually “configure” and
"compile” software for a non-cygwin target within
a cygwin development environment - the problem is
about the header-files that reference functions
only present in the cygwin.dll, and about libraries
that themselves link into cygwin. You have asked about
to “link with mingw” but most people really mean to
"compile software without GPL cygwin.dll" - in general
that will require to setup extra directories and the
use of some extra configure- and make-helper scripts.
In most cases it is better to save yourself the time
and headaches, but donate some megabytes of harddisk
space and simply start to install a mingw development
tree in parallel to the cygwin stuff - then use it to
configure/make your project with the mingw tools, i.e.
it’s headers and libs compiled for it in the first
place.

btw, don’t be surprised to see warnings about minor
problems when you try to configure software inside a
mingw environment - it is a fact that mingw build-tools
are more “rough” than their cygwin counterparts.

HTH, guido