Le samedi 02 février 2013 à 21:05 +1100, Ben Elliston a écrit :
> On Sat, Feb 02, 2013 at 10:11:47AM +0100, Yann Droneaud wrote:
>
> > The problem happens when I use `uname -p`-`uname -s` as --build=
> > argument of a configure script while cross-compiling.
>
> So use --build=`uname -p`-`uname -s | tr A-Z a-z`. ;-)
>
> In my experience, in 99% of cases, people do not compute the value of
> the --build argument.
>
Which will trigger a warning in autoconf if you specify --host without
--build:
configure: WARNING: if you wanted to set the --build type, don't use
--host.
If a cross compiler is detected then cross compile mode will be used
See: 14.1 Specifying target triplets
"For historical reasons, whenever you specify `--host', be sure to
specify `--build' too; this will be fixed in the future. So, to enter
cross-compilation mode, use a command like this
So one may have to introduce a --build option with a string describing
the build system in order to workaround the warning.
Regards.
--
Yann Droneaud
OPTEYA
_______________________________________________
config-patches mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/config-patches