[U-Boot-Users] GCC version for Linux kernel?

Detlef Vollmann
2005-06-15T09:58:37Z

Marc Leeman wrote:
> > Warning! from gcc-3.3 to gcc-3.4 the handling of the attribute
> > 'unused' changed. For that reason, compiling a linux-2.4 kernel
> > with gcc-3.4 will break silently!
>
> Euhm. I've been doing this for 5 months without any problem for PPC.
That is what "will break silently!" means.
I used a 3.4 compiler for several weeks, until I tracked down
a problem I didn't notice before to the compiler version.

Actually, the ARM version of U-Boot (at least 1.1.2) has the same
problem (in include/asm-arm/setup.h).

Detlef

--
Detlef Vollmann vollmann engineering gmbh
Linux and C++ for Embedded Systems http://www.vollmann.ch/