* Adjusting staging for gcc >= 4.3.0
@ 2008-04-05 15:22 Koen Kooi
2008-04-05 16:30 ` Sergey 'Jin' Bostandzhyan
2008-04-05 16:30 ` Khem Raj
0 siblings, 2 replies; 3+ messages in thread
From: Koen Kooi @ 2008-04-05 15:22 UTC (permalink / raw)
To: openembedded-devel
-----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-----
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Adjusting staging for gcc >= 4.3.0
2008-04-05 15:22 Adjusting staging for gcc >= 4.3.0 Koen Kooi
@ 2008-04-05 16:30 ` Sergey 'Jin' Bostandzhyan
2008-04-05 16:30 ` Khem Raj
1 sibling, 0 replies; 3+ messages in thread
From: Sergey 'Jin' Bostandzhyan @ 2008-04-05 16:30 UTC (permalink / raw)
To: openembedded-devel
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Adjusting staging for gcc >= 4.3.0
2008-04-05 15:22 Adjusting staging for gcc >= 4.3.0 Koen Kooi
2008-04-05 16:30 ` Sergey 'Jin' Bostandzhyan
@ 2008-04-05 16:30 ` Khem Raj
1 sibling, 0 replies; 3+ messages in thread
From: Khem Raj @ 2008-04-05 16:30 UTC (permalink / raw)
To: openembedded-devel; +Cc: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 572 bytes --]
Koen Kooi wrote:
> -----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?
Hi Koen
Does this patch help.
http://sourceware.org/ml/libc-alpha/2007-03/msg00017.html
thx
-Khem
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 258 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-04-05 16:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-05 15:22 Adjusting staging for gcc >= 4.3.0 Koen Kooi
2008-04-05 16:30 ` Sergey 'Jin' Bostandzhyan
2008-04-05 16:30 ` Khem Raj
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox