Earnie Boyd wrote:
> Are you using Cygwin or are you cross compiling using Linux?  It appears
> to me as if you've used the wrong switch, you want --target not
> --build.  I may be wrong, I've never cross compiled.
> 
> If you're using Cygwin you need to:
> 
> CC='gcc -mno-cygwin'
> configure --host=mingw32 --build=mingw32 --target=mingw32

I am using linux and cross-compiling but that is not the point.  I can 
generate the same problem using any build/host/target type, even if it 
is the type of the system that I am using.

What I wrote in my last letter was just an example.  This is what I 
*actually* use (if that helps):

./configure --host=i686-mingw32msvc --target=i386-mingw32msvc 
--build=i386-linux

And the subdir configure is called with:

./configure --host=i686-mingw32msvc host_alias=i686-mingw32msvc 
--target=i386-mingw32msvc target_alias=i386-mingw32msvc 
--build=i386-linux build_alias=i386-linux

This causes the subdir configure to fail because it interprets the 
"host_alias=...", "targer_alias=...", and "build_alias=..." as host 
types.  Like I said in my last two letters, I believe this is a bug, but 
  I don't know...

        -- David Snopek

/-- libksd --
| The C++ Cross-Platform Game Framework
| Only want to write it once??
| http://libksd.sourceforge.net
\------------



Reply via email to