Cross-compiling for i686-pc-mingw32
Wed Sep 1 15:22:00 GMT 2010
On Wed, Sep 01, 2010 at 06:35:18PM +0400, Andrey Repin wrote:
>Greetings, Charles Wilson!
>>> 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.
>Aww... now i'm struck with it.
>Tried to compile http://www.acme.com/software/mini_httpd/
>Installed gcc-mingw, it pulled up some additional packets including gcc
>Then I ran make just for test. Cygwin build went fine, apart from htpasswd
>(there's getline redefined in source), but I don't really need it.
>Then tried to switch to mingw32 and...
>$ gcc -b i686-pc-mingw32 -O -c mini_httpd.c
>gcc: couldn't run `i686-pc-mingw32-gcc-3.4.4': No such file or directory
>Tried the suggested gcc-3 -mno-cygwin, and got a whole bunch of unresolved
>So... am I doing something wrong or it's not yet ready to do so?
Or, maybe if you're in the wrong mailing list.
I don't see any reason to spend much time trying to help people not use
Cygwin in this mailing list. If you're having problems building
something which is supposed to be built with MinGW then you should be
checking out the resources at http://mingw.org/ .
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin