This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Trouble cross building target libraries


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,


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]