[ELDK] installing 5.6

Wolfgang Denk wd at denx.de
Wed Jan 28 20:21:30 CET 2015

Dear Richard,

In message <54C933BA.1000803 at graphitesystems.com> you wrote:
> >>    * the CFLAGS are obsolete and produce copious warnings from the compiler
> > What makes you think so?
> >
> > Which part of
> >
> > 	CFLAGS=" -O2 -pipe -g -feliminate-unused-debug-types"
> >
> > looks obsolete or bad to you?
> This part:  " -mcpu=8548 -mabi=spe -mspe" from the CC/CXX/CPP definition.

Ah, so that's something different, not CFLAGS.

> At least, that's the part gcc complains about.

Not true here.  It works just fine for me.  Did you really try with my
patch applied?

> How else does an eldk-5.6 e500v2 gcc find it's libgcc.a?

It doesn't.  The Linux kernel intentionally does not make use of
libgcc.a but supplies it's own code.  U-Boot does the same when you
build with CONFIG_USE_PRIVATE_LIBGCC=y; there hav ebeen too many
compiler versions around with incompatible/incomplete/incorrect
versions of libgcc, so we try to not depend on these in low-level
projects like the kernel or U-Boot.

Best regards,

Wolfgang Denk

DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Ninety-Ninety Rule of Project Schedules:
        The first ninety percent of the task takes ninety percent of
the time, and the last ten percent takes the other ninety percent.

More information about the eldk mailing list