public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] Makefile problems
@ 2005-05-13 23:48 Detlef Vollmann
  2005-05-16 12:33 ` Simon Poole
  0 siblings, 1 reply; 7+ messages in thread
From: Detlef Vollmann @ 2005-05-13 23:48 UTC (permalink / raw)
  To: u-boot

Hello,

as the command constants in cmd_confdefs.h are long longs,
the programs in tools that include a board configuration file
dont't compile with GCC 2.x.  But on a number of workstations
the 'gcc' command is still 2.95.x, while the 3.x version
is named gcc3, gcc-3 or similar.
One way to solve this is to add a line to tools/Makefile like
HOSTCC=gcc-3
But now I need a different makefile on different machines.
To avoid this, I tried things like
 $ HOSTCC=gcc-3 make
or even
 $ HOSTCC=gcc-3 make -e
but none of these worked.
The most elegant version would be to give the HOSTCC at
configuration time, i.e.
 $ HOSTCC=gcc-3 make xyz_config
But I have no idea whether this is possible and if so how
to implement it.

Any ideas?

 Detlef

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

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

end of thread, other threads:[~2005-05-17 14:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-13 23:48 [U-Boot-Users] Makefile problems Detlef Vollmann
2005-05-16 12:33 ` Simon Poole
2005-05-16 18:09   ` Detlef Vollmann
2005-05-16 23:04     ` Wolfgang Denk
2005-05-17  5:12       ` Detlef Vollmann
2005-05-17  7:17         ` Wolfgang Denk
2005-05-17 14:56           ` Simon Poole

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