This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Cross-compiling for i686-pc-mingw32
- From: Charles Wilson <cygwin at cwilson dot fastmail dot fm>
- To: cygwin at cygwin dot com
- Date: Sat, 07 Aug 2010 11:58:31 -0400
- Subject: Re: Cross-compiling for i686-pc-mingw32
- References: <50F6B64644A84DE8A7F93B2DE2DA14FA@desktop2>
On 8/7/2010 9:45 AM, Sisyphus wrote:
> With cygwin-1.5.25 I can cross-compile libraries for native win32 by
> starting with the following configure command:
>
> ./configure --host=i686-pc-mingw32 --build=i686-pc-cygwin CC='gcc
> -mno-cygwin' host_alias=i686-pc-mingw32
>
> and that has worked fine on the few occasions that I've tried it.
>
> However, with cygwin-1.7.5, it doesn't work.
For now, use CC='gcc-3 -mno-cygwin'. Soon you'll be able to use a real,
honest-to-god cross compiler version of gcc-4 instead (e.g.
"i686-pc-mingw32-gcc")
--
Chuck
--
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