public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] Those hello_world compilation problems
@ 2004-10-14 20:29 Jon Loeliger
  2004-10-16  8:42 ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: Jon Loeliger @ 2004-10-14 20:29 UTC (permalink / raw)
  To: u-boot

Folks,

I did some digging on our toolchain here on our
new Yellowdog 4.0 installed machines.  They have
a 3.3.2 compiler on them by default, apparently.

As someone else discerned, that cause an issue with
the dummy() function being static in the stubs.o file
for the examples directory.

I've found that all appears to be better if the test
in the example/stubs.c file is changed from:

    #if GCC_VERSION < 3004
to
    #if GCC_VERSION < 3003

(BTW, the GCC_VERSION symbol, google revealed, comes
from ansidecl.h.  Oh yeah.)

I'm not sure of the generality of this fix, so I am
reluctant to submit a direct patch for it.  Perhaps
someone more familiar with the details of either the
YDL 4.0 or GCC 3.3 vs 3.4 releases can speak authoritatively
on this issue.

HTH,
jdl

    

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

end of thread, other threads:[~2004-10-17 16:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-14 20:29 [U-Boot-Users] Those hello_world compilation problems Jon Loeliger
2004-10-16  8:42 ` Wolfgang Denk
2004-10-17 15:41   ` Kumar Gala
2004-10-17 16:52     ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox