Re: Enforcing cross-compilation

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

 



On 01/13/2011 08:44 AM, David NeÄas wrote:
> 
> Hello,
> 
> is it possible to enforce cross-compilation by some configure arugments
> or env vars?

Yes: call configure with explicit --build and --host arguments that differ.

> 
> 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.

When using a cross toolchain, you should also set the --build and --host
arguments rather than just modifying CC.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

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

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux