This is the mail archive of the cygwin 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: Building for nocygwin


[snip]

> That is the "general solution".  The error message was appropriate and gave a clue.  Beyond that
> you'll need to communicate a patch to the maintainers of the package that is still using -mno-cygwin.

Let me rephrase.

gcc-3 -mno-cygwin -o foo.exe foo.c

under cygwin, works to create a windows executable that does not reference the cygwin dlls. (provided of course that foo.c does not call any APIs that can only be provided by cygwin, like fork). That *was* a general solution.

What is the equivalent using gcc-4 under cygwin?


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