This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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: Building Cross-tools Binutils


I did some homework; --with-sysroot=${XTOOL_DIR}/target is the correct
way and the SEARCH_DIR paths have an = that is replaced by the value
of sysroot. Thanks Dan and Khem.

Disregard the previous post, sorry.
I'm a clown.

Douglas Jerome wrote:
> Khem Raj wrote:
>> On Aug 24, 2007, at 8:28 AM, Dan Kegel wrote:
>>
>>>> --with-sysroot=${XTOOL_DIR}/target
>>
>> This is the right one. This will make binutils relocatable and look into
>> sysroot you specified (${XTOOL_DIR}/target)
> 
> But the ldscripts have:
> SEARCH_DIR("=/usr/local/lib"); SEARCH_DIR("=/lib");
> SEARCH_DIR("=/usr/lib")
> 
> Why do they not have:
> SEARCH_DIR("=${XTOOL_DIR}/target/usr/local/lib");
> SEARCH_DIR("=${XTOOL_DIR}/target/lib");
> SEARCH_DIR("=${XTOOL_DIR}/target/usr/lib")
> 
> I do not want my workstation libraries getting into my
> cross-built target code.
> 
>> Khem Raj
>> MontaVista Software

--
For unsubscribe information see http://sourceware.org/lists.html#faq


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