Re: Trouble cross building target libraries

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

 



On Tue, Sep 3, 2013 at 3:55 PM, Paul Smith <paul@xxxxxxxxxxxxxxxxx> 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,




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux