On 27/02/06, Enrico Migliore <[EMAIL PROTECTED]> wrote:
> Hi,
>
> >>  So what we'd need now is a mechanism to override
> >> the automatic choice of "platform".  I wouldn't be too surprised if
> >> someone decided to create "platforms" for the other two (?) choices of
> >> windows implementation - cygwin native and cygwin w/o cygwin.dll.
> >>
> >>
> > ??? native windoze and cygwin, or do I miss something?
>
> The cygwin.dll acts as an emulation layer for all those POSIX functions
> that
> Windows doesn't have. If a program doesn't call any of the functions
> provided
> by cygwin.dll, then, this library is not needed and, I guess, it's not
> even loaded.
>
> GCC, when used on Cygwin, produces always a native executable file for
> Windows, and
> the extension is .exe.

Actually you have a choice now. Cygwin gcc can build for cygwin.dll
or, with "gcc -mno-cygwin", for the native msvcrt.dll.  The latter
does not require cygwin.dll.

Regards,
 Mark.

--
Mark Hindess <[EMAIL PROTECTED]>
IBM Java Technology Centre, UK.

Reply via email to