From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mumit Khan To: "Kai-Uwe Rommel" Cc: DJ Delorie , cygwin@sourceware.cygnus.com Subject: Re: B20.1: how to build for MinGW32? Date: Sun, 07 Mar 1999 21:30:00 -0000 Message-id: <199903080530.XAA21364@modi.xraylith.wisc.edu> In-reply-to: Your message of "Sun, 07 Mar 1999 20:01:13 +0100." < C125672D.00688D51.00@abraham.ars.de > References: X-SW-Source: 1999-03/msg00212.html "Kai-Uwe Rommel" writes: > > DJ Delorie wrote on 7.3.1999 19:08:28: > > > > > Since I can't find notes about that in the docs, here is my > > > question: what is the official way of recompiling the code for > > > MinGW32? > > > > Mingw doesn't provide a posix emulation, so I wouldn't expect GNU > > tools to build with it. I think our expectation is that the > > development tools would always be built with cygwin, and would > > cross-compile to mingw. > > So how do I cross-compile with CygWin to MinGW32? I finally managed > to get the thing compiled, but after "configure" I had to add > -mno-cygwin manually to the Makefile's "CC = gcc" statements and > also had to manually edit some config.h files. > > Probably I already have to tell "configure" to use -mno-cygwin, but > how? I am still not all too familiar with CygWin and configure ... Have you looked at my howto for building mingw cross compiler? That may answer your question. See http://www.xraylith.wisc.edu/~khan/software/gnu-win32/ I've never tried building under cygwin, but in theory it should work just as well as under Linux or other well supported Unix'y hosts. Regards, Mumit -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe@sourceware.cygnus.com From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mumit Khan To: "Kai-Uwe Rommel" Cc: DJ Delorie , cygwin@sourceware.cygnus.com Subject: Re: B20.1: how to build for MinGW32? Date: Wed, 31 Mar 1999 19:45:00 -0000 Message-ID: <199903080530.XAA21364@modi.xraylith.wisc.edu> References: X-SW-Source: 1999-03n/msg00212.html Message-ID: <19990331194500.a0_6PsCDGr4XfGjEODD72BpVguZFdqGdWFBUq_A66X0@z> "Kai-Uwe Rommel" writes: > > DJ Delorie wrote on 7.3.1999 19:08:28: > > > > > Since I can't find notes about that in the docs, here is my > > > question: what is the official way of recompiling the code for > > > MinGW32? > > > > Mingw doesn't provide a posix emulation, so I wouldn't expect GNU > > tools to build with it. I think our expectation is that the > > development tools would always be built with cygwin, and would > > cross-compile to mingw. > > So how do I cross-compile with CygWin to MinGW32? I finally managed > to get the thing compiled, but after "configure" I had to add > -mno-cygwin manually to the Makefile's "CC = gcc" statements and > also had to manually edit some config.h files. > > Probably I already have to tell "configure" to use -mno-cygwin, but > how? I am still not all too familiar with CygWin and configure ... Have you looked at my howto for building mingw cross compiler? That may answer your question. See http://www.xraylith.wisc.edu/~khan/software/gnu-win32/ I've never tried building under cygwin, but in theory it should work just as well as under Linux or other well supported Unix'y hosts. Regards, Mumit -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe@sourceware.cygnus.com