Discussion:
How can I always cross compile even when host and build are the same?
Steven Stewart-Gallus
2015-08-31 17:49:27 UTC
Permalink
Hello,

I would prefer to never invoke runtime tests such as for whether vfork is
effective and simply always cross compile even if host and build are the same (I
want people cross compiling from some other architecture to obtain the exact
same binary identical build as for my native builds.) How can I do this?

Thank you,
Steven Stewart-Gallus
Nick Bowler
2015-08-31 19:06:56 UTC
Permalink
Post by Steven Stewart-Gallus
I would prefer to never invoke runtime tests such as for whether vfork is
effective and simply always cross compile even if host and build are the same (I
want people cross compiling from some other architecture to obtain the exact
same binary identical build as for my native builds.) How can I do this?
You can force cross-compiling mode by running configure with
cross_compiling=yes. For example:

% ./configure cross_compiling=yes

Cheers,
Nick

Loading...