Building Cross-tools Binutils
Douglas Jerome
douglas@backstep.org
Sat Aug 25 06:31:00 GMT 2007
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
More information about the crossgcc
mailing list