autoconf
[Top][All Lists]
Advanced

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

Re: [autoconf] Enforcing cross-compilation


From: suzuki toshiya
Subject: Re: [autoconf] Enforcing cross-compilation
Date: Fri, 14 Jan 2011 02:52:47 +0900
User-agent: Mozilla-Thunderbird 2.0.0.12 (X11/20080406)

In your case that the prefix of compilers are clearly different,
something like

./configure --host=i586-mingw32msvc --build=i386-pc-linux-gnu

may configure recognize that now it is working for cross compiling.
Please try.

Regards,
mpsuzuki

David Nečas wrote:
Hello,

is it possible to enforce cross-compilation by some configure arugments
or env vars?

I cross-compile for win32 using the mingw32 cross-compiler toolchain but
I *can* run the created excutables as I have wine installed.  So
configure concludes I am not cross-compiling and this leads to various
problems later.

Of course, I can easily work around it by unregistering the binfmt
interpreter and thus losing the ability to run the MS executables
directly.  But generally, the cross-compilation check does not seem to
be reliable so I would like to be able to ask for cross-compilation
explicitly.

Yeti


_______________________________________________
Autoconf mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/autoconf




reply via email to

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