[LinuxBIOS] Makefile definition of GCC_INC_DIR (linuxBIOSv2)

magicfox magicfox at magic.fr
Thu Aug 25 16:06:24 CEST 2005

I have some problem with language of messages for gcc
in GCC_INC_DIR definition.

gcc -print-search-dirs show (in French):
install_és_: /usr/local/lib/gcc/i686-pc-linux-gnu/3.4.4/
programmes: =/usr/local/libexec/gcc/i686-pc-linux-gnu/3.4.4/:/usr/l...

LC_MESSAGES definition to 'en_UK' doesn't help me.

I'm not a sed expert but this new definition is right for me.

GCC_INC_DIR $(shell $(CC) --print-search-dirs | sed -ne

New one:
GCC_INC_DIR $(shell $(CC) --print-search-dirs | sed -ne "1s/.* //p" |
sed -e s/$/include/")

Can somebody would test this with others languages than EN for gcc ?

Best regards

More information about the coreboot mailing list