[oe] Adjusting staging for gcc >= 4.3.0
Sergey 'Jin' Bostandzhyan
jin at mediatomb.cc
Sat Apr 5 16:30:26 UTC 2008
Hi Koen,
On Sat, Apr 05, 2008 at 05:22:50PM +0200, Koen Kooi wrote:
> In order to build glibc with gcc 4.3.0 I needed to do:
>
> ln -sf /OE/angstrom-tmp/cross/lib/gcc/arm-angstrom-linux-gnueabi/4.3.0/
> include-fixed/* /OE/angstrom-tmp/cross/lib/gcc/arm-angstrom-linux-
> gnueabi/4.3.0/include/
>
> The question I have is:
>
> Should be do this symlinking in the recipe or find a way to add
> include-fixed to the includepath?
I do not know what the correct way is, but the uclinux people do it via the
includes, that's from the Rules.mak of their uClibc:
C_SYSTEM_INCLUDE :=$(shell $(CC) -print-file-name=include || echo)
CFLAGS+= -isystem $(C_SYSTEM_INCLUDE) -isystem $(C_SYSTEM_INCLUDE)-fixed
I hope that info helps.
Kind regards,
Jin
More information about the Openembedded-devel
mailing list