autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Repost: AC_CONFIG_SUBDIRS problem


From: David Snopek
Subject: Re: Repost: AC_CONFIG_SUBDIRS problem
Date: Mon, 22 Oct 2001 15:09:51 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.3) Gecko/20010801

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

[Prev in Thread] Current Thread [Next in Thread]