gcc as strictly win32 compiler

Christopher Faylor cgf-noreply@cygwin.com
Fri Jan 31 21:37:00 GMT 2003


On Fri, Jan 31, 2003 at 07:26:12PM -0000, Max Bowsher wrote:
>If you are not using any of the unix APIs, you may be interested in the
>MinGW project (mingw.sf.net). Cygwin's gcc takes the -mno-cygwin option
>which causes it to function as a MinGW compiler - i.e. the produced exes use
>MSVCRT, not cygwin1.dll.

And as a fish teaching exercise, you might be interested in the command:

gcc -v --help 2>&1 | less

which tells you about -mno-cygwin among other things.

Also, perhaps more importantly, the FAQ has a section entitled "How do I
compile a Win32 executable that doesn't use Cygwin?"

cgf
--
Please use the resources at cygwin.com rather than sending personal email.
Special for spam email harvesters: send email to aaaspam@sourceware.org
and be permanently blocked from mailing lists at sources.redhat.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list