Adjusting staging for gcc >= 4.3.0
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
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?
regards,
Koen
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFH95kdMkyGM64RGpERAvyhAKComwcyySoXRkWJGhp5Jdll6a6J6QCfWc3t ZTSQWf+aOfMAoQEPfmc0hHM=
=2xSy
- -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFH95lKMkyGM64RGpERAs1PAKCjSfeU1KpJO3+UMQf4FoNgsSO4fgCfUcxw yGbSKkKDrQb84iNLTDfCZIk=
=M3IT
-----END PGP SIGNATURE-----
Hi Koen,
Quoted 10 lines · Koen Kooi
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
Quoted 7 lines · Koen Kooi
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Hi,
In order to build glibc with gcc 4.3.0 I needed to do:
Quoted 8 lines
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?
Hi Koen
Does this patch help.
http://sourceware.org/ml/libc-alpha/2007-03/msg00017.html
thx
-Khem