On Apr 23 15:56, Michel Bardiaux wrote:
> [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.

As Earnie wrote, now you should use the appropriate mingw32 or mingw64
cross compiler, both of which are available as part of the Cygwin distro.
This *is* the general solution.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply via email to