gcc headers needed for ARM EABI build

Khem Raj kraj at mvista.com
Fri Mar 7 19:32:29 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Joseph S. Myers wrote:
| On Thu, 6 Mar 2008, Khem Raj wrote:
|
|> We have -nostdinc option added in rules.mak so the build does not pick
|> up this header.
|
| The line
|
| CFLAGS += -iwithprefix include-fixed -iwithprefix include
|
| is supposed to ensure that GCC's internal headers are picked up.  Perhaps
| it's broken;

yes it seems so. I can see that the directory is listed in the search
path when I add -v to gcc. But gcc really is not picking the header from it.

the old version using -print-file-name=include certainly
| worked (although needing patching to work with 4.3's include-fixed).
|

may be we can use -print-file-name=include  and -print-file-name=include
- -fixed instead.

- --
Khem Raj
MontaVista Software Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH0ZhNUjbQJxVzeZQRAmRfAJ4iKr3OkmzT7/NTrXjWaEMpnBoySgCfXPsp
V/Hr9dEKJGzUJwBp0aDEpcI=
=gFUQ
-----END PGP SIGNATURE-----



More information about the uClibc mailing list