[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Regarding my two patches against config.sub
From: |
Yann Droneaud |
Subject: |
Re: Regarding my two patches against config.sub |
Date: |
Sat, 02 Feb 2013 13:35:06 +0100 |
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
- Regarding my two patches against config.sub, Yann Droneaud, 2013/02/01
- Re: Regarding my two patches against config.sub, Jan Engelhardt, 2013/02/02
- Re: Regarding my two patches against config.sub, Yann Droneaud, 2013/02/02
- Re: Regarding my two patches against config.sub, Ben Elliston, 2013/02/02
- Re: Regarding my two patches against config.sub,
Yann Droneaud <=
- Re: Regarding my two patches against config.sub, Ben Elliston, 2013/02/02
- Message not available
- Need for --build with --host when cross-compiling ?, Yann Droneaud, 2013/02/03
- Re: Need for --build with --host when cross-compiling ?, Jan Engelhardt, 2013/02/05
- Re: Need for --build with --host when cross-compiling ?, Yann Droneaud, 2013/02/12
- Re: Need for --build with --host when cross-compiling ?, Jan Engelhardt, 2013/02/12
- Message not available
- Uppercase in cross-compiler name, Yann Droneaud, 2013/02/03
Re: Regarding my two patches against config.sub, Ben Elliston, 2013/02/02