All of lore.kernel.org
 help / color / mirror / Atom feed
* [small BUG] Makefile bug with gcc 3.1 and non english locales
@ 2002-06-01  1:33 Edouard Gomez
  2002-06-01  1:44 ` Kai Germaschewski
  0 siblings, 1 reply; 2+ messages in thread
From: Edouard Gomez @ 2002-06-01  1:33 UTC (permalink / raw)
  To: lkml

Hello,

well, if i use gcc 3.1 with the current Makefile, the gcc specific include
dir is not well parsed in this expression :

kbuild_2_4_nostdinc	:= -nostdinc $(shell $(CC) -print-search-dirs | sed -ne 's/install: \(.*\)/-I \1include/gp')

because my system is fr_FR and the gcc output begins with :

Installé: ...

So i have to put LC_ALL=C before compiling the kernel.

I think you should set LC_ALL=C in the Makefile in order to avoid that
problem with locales.

Regards

PS : Please CC me the answers.

-- 
Edouard Gomez

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [small BUG] Makefile bug with gcc 3.1 and non english locales
  2002-06-01  1:33 [small BUG] Makefile bug with gcc 3.1 and non english locales Edouard Gomez
@ 2002-06-01  1:44 ` Kai Germaschewski
  0 siblings, 0 replies; 2+ messages in thread
From: Kai Germaschewski @ 2002-06-01  1:44 UTC (permalink / raw)
  To: Edouard Gomez; +Cc: lkml

On Sat, 1 Jun 2002, Edouard Gomez wrote:

> kbuild_2_4_nostdinc	:= -nostdinc $(shell $(CC) -print-search-dirs | sed -ne 's/install: \(.*\)/-I \1include/gp')

Russell King suggested the following nice construct, which I'll submit for 
2.5 shortly. It should work for you, too.

> CFLAGS	+= -nostdinc -iwithprefix include
> 
> `-iwithprefix DIR'
>     Add a directory to the second include path.  The directory's name
>     is made by concatenating PREFIX and DIR, where PREFIX was
>     specified previously with `-iprefix'.  If you have not specified a
>     prefix yet, the directory containing the installed passes of the
>     compiler is used as the default.

--Kai


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-06-01  1:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-01  1:33 [small BUG] Makefile bug with gcc 3.1 and non english locales Edouard Gomez
2002-06-01  1:44 ` Kai Germaschewski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.