Re: Building for nocygwin

2012-04-24 Thread Corinna Vinschen
On Apr 23 14:35, Yaakov (Cygwin/X) wrote: On 2012-04-23 10:37, Christopher Faylor wrote: On Mon, Apr 23, 2012 at 04:52:54PM +0200, Michel Bardiaux wrote: I *get* that. My problem was, the web is so cluttered with pages mentioning the no-cygwin thing (including the cygwin FAQ!) that finding a

Re: Building for nocygwin

2012-04-23 Thread Yaakov (Cygwin/X)
On 2012-04-23 10:37, Christopher Faylor wrote: On Mon, Apr 23, 2012 at 04:52:54PM +0200, Michel Bardiaux wrote: I *get* that. My problem was, the web is so cluttered with pages mentioning the no-cygwin thing (including the cygwin FAQ!) that finding a good howto is nearly impossible. Is there a

Re: Building for nocygwin

2012-04-23 Thread Peter Rosin
On 2012-04-23 21:35, Yaakov (Cygwin/X) wrote: On 2012-04-23 10:37, Christopher Faylor wrote: Could someone provide some appropriate words? Patch attached. +paraThe copmilers provided by the literalmingw-gcc/literal, compilers Cheers, Peter

Re: Building for nocygwin

2012-04-23 Thread Christopher Faylor
On Mon, Apr 23, 2012 at 02:35:16PM -0500, Yaakov (Cygwin/X) wrote: On 2012-04-23 10:37, Christopher Faylor wrote: On Mon, Apr 23, 2012 at 04:52:54PM +0200, Michel Bardiaux wrote: I *get* that. My problem was, the web is so cluttered with pages mentioning the no-cygwin thing (including the

Building for nocygwin

2012-04-23 Thread Michel Bardiaux
A number of open-source projects (a.o. libav) indicate the use of -mnocygwin to build, on cygwin, libraries or executables that do not need the cygwin dll Section 6.10 of the FAQ also says so, but also states This section has not yet been updated for the latest net release.. And indeed, gcc 4.5.3

Re: Building for nocygwin

2012-04-23 Thread Earnie Boyd
On Mon, Apr 23, 2012 at 7:35 AM, Michel Bardiaux wrote: A number of open-source projects (a.o. libav) indicate the use of -mnocygwin to build, on cygwin, libraries or executables that do not need the cygwin dll Section 6.10 of the FAQ also says so, but also states This section has not yet been

RE: Building for nocygwin

2012-04-23 Thread Michel Bardiaux
[snip] Sure, --host=i686-pc-mingw32 or some other appropriate host string during configure. You'll need to make sure you have the appropriate files for cross compiling. The -mno-cygwin has been gone for some months moving into years. That much I could guess. I am pretty sure I could

Re: Building for nocygwin

2012-04-23 Thread Earnie Boyd
On Mon, Apr 23, 2012 at 9:09 AM, Michel Bardiaux wrote: [snip] Sure, --host=i686-pc-mingw32 or some other appropriate host string during configure. You'll need to make sure you have the appropriate files for cross compiling. The -mno-cygwin has been gone for some months moving into years.

RE: Building for nocygwin

2012-04-23 Thread Michel Bardiaux
[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

Re: Building for nocygwin

2012-04-23 Thread Csaba Raduly
Hi, On Mon, Apr 23, 2012 at 3:56 PM, 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.

Re: Building for nocygwin

2012-04-23 Thread Corinna Vinschen
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

Re: Building for nocygwin

2012-04-23 Thread Ryan Johnson
On 23/04/2012 9:56 AM, 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

RE: Building for nocygwin

2012-04-23 Thread Michel Bardiaux
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. I *get* that. My problem was, the web is so cluttered with pages mentioning the no-cygwin thing (including the

Re: Building for nocygwin

2012-04-23 Thread Christopher Faylor
On Mon, Apr 23, 2012 at 04:52:54PM +0200, Michel Bardiaux wrote: 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. I *get* that. My problem was, the web is so