Trouble cross building target libraries
Christer Solskogen
christer.solskogen@gmail.com
Tue Sep 3 15:54:00 GMT 2013
On Tue, Sep 3, 2013 at 3:55 PM, Paul Smith <paul@mad-scientist.net> wrote:
> On Tue, 2013-09-03 at 16:30 +0300, Kai Ruottu wrote:
>> What do you think the guessed '--target=<something>' to be?
>> 1. the same as in the '--build=x86_64-unknown-linux-gnu' ?
>> 2. the same as in the '--host=x86_64-builder-linux-gnu' ?
>
> In autoconf, if --build is not given then it uses config.guess to get a
> triplet for the current system.
>
> If --host is not given, it's set to the value used for --build.
>
> If --target is not given, it's set to the value used for --host.
>
Well, I haven't double checked it yet, but it *might* look like you
need to specify --target as well. Without it the target libraries are
not compiled with the cross compiler. I'm also pretty sure that this
has changed since 4.7. But is it a bug?
--
chs,
More information about the Gcc-help
mailing list