[Scratchbox-users] SB2 - gcc still doesn't find includes
Lauri Leukkunen
lle at rahina.org
Sun Dec 16 16:48:19 EET 2007
On Dec 13, 2007, at 7:22 PM, Lauri Leukkunen wrote:
> On 13/12/07 14:27 +0100, Harald Radke wrote:
>> Hi there!
>>
>> Still no luck with fixing my problems inside SB2 ...
>>
>> gcc doesn't find include files in $HOME/root-fs/usr/include
>>
>> SBOX_TARGET_ROOT is set correctly, gcc --help shows --sysroot option
>>
>> when copying the header file to the include dir of the toolchain,
>> it is found
>>
>> Any hints how I can fix that?
>
> Run sb2 with -d switch, put the resulting ~/sb2_mapping*.log
> somewhere so I
> can look at it.
Just to recap for the list: As of 1.99.0.20 SB2 drives GCC the same
way as SB1 has done (using -rpath-link for ld and -I and -L switches
for gcc). This means that also older toolchains now work just fine.
/lauri
More information about the Scratchbox-users
mailing list