public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] Question to Install ELDK
@ 2004-12-09  1:38 灰色 轨迹
  0 siblings, 0 replies; 6+ messages in thread
From: 灰色 轨迹 @ 2004-12-09  1:38 UTC (permalink / raw)
  To: u-boot

Hi. I had download ELDK3.1 for arm(arm-2004-11-09.iso). And I prepared
a host environment with a full installation of Red Hat Linux 9, and
mount the iso file in my host OS, to execute #./install -d /ELDK arm
without errors. Add ELDK's bin directory to $PATH.
After doing these, can I use this ELDK compile u-boot? Does the
Environment variable CROSS_COMPILE MUST be set?

-- 
Zhibiao Wu
lenovo-ai
MSN:yokishiro at hotmail.com
Office email: wuzb at lenovo-ai.com

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

* [U-Boot-Users] Question to install ELDK
@ 2004-12-09  1:47 灰色 轨迹
  2004-12-09 14:50 ` Marc Leeman
  0 siblings, 1 reply; 6+ messages in thread
From: 灰色 轨迹 @ 2004-12-09  1:47 UTC (permalink / raw)
  To: u-boot

Hi. I had download ELDK3.1 for arm(arm-2004-11-09.iso). And I prepared
a host environment with a full installation of Red Hat Linux 9, and
mount the iso file in my host OS, to execute #./install -d /ELDK arm
without errors. Add ELDK's bin directory to $PATH.
After doing these, can I use this ELDK compile u-boot? Does the
Environment variable CROSS_COMPILE MUST be set?

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

* [U-Boot-Users] Question to install ELDK
  2004-12-09  1:47 [U-Boot-Users] Question to install ELDK 灰色 轨迹
@ 2004-12-09 14:50 ` Marc Leeman
  2004-12-09 15:24   ` Wolfgang Denk
  0 siblings, 1 reply; 6+ messages in thread
From: Marc Leeman @ 2004-12-09 14:50 UTC (permalink / raw)
  To: u-boot

> without errors. Add ELDK's bin directory to $PATH.
> After doing these, can I use this ELDK compile u-boot? Does the
> Environment variable CROSS_COMPILE MUST be set?

Next to the fact that testing this will take about the same amount of
time as figuring it out by yourself by testing this, the answers are:

1. yes
2. no: it's hardcoded in the Makefile

...
ifeq ($(ARCH),ppc)
CROSS_COMPILE = ppc_82xx-
endif
...

Setting the CROSS_COMPILE is does not hurt though.

-- 
ash nazg durbatul?k, ash nazg gimbatul,
ash nazg thrakatul?k agh burzum-ishi krimpatul

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

* [U-Boot-Users] Question to install ELDK
  2004-12-09 14:50 ` Marc Leeman
@ 2004-12-09 15:24   ` Wolfgang Denk
  2004-12-09 17:58     ` Marc Leeman
  0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Denk @ 2004-12-09 15:24 UTC (permalink / raw)
  To: u-boot

Mark,

> in message <1f729c480412090650692f01ec@mail.gmail.com> you wrote:
>...
> > After doing these, can I use this ELDK compile u-boot? Does the
> > Environment variable CROSS_COMPILE MUST be set?
...
> 2. no: it's hardcoded in the Makefile

This is wrong. It's not hardcoded. Only a _default_value_ is provided.

> ...
> ifeq ($(ARCH),ppc)
> CROSS_COMPILE = ppc_82xx-
> endif
> ...

And you must be referring to something else, but not to U-Boot.

> Setting the CROSS_COMPILE is does not hurt though.

RTFM. Setting CROSS_COMPILE is _required_ when using the ELDK.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Every solution breeds new problems.

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

* [U-Boot-Users] Question to install ELDK
  2004-12-09 15:24   ` Wolfgang Denk
@ 2004-12-09 17:58     ` Marc Leeman
  2004-12-09 18:40       ` Wolfgang Denk
  0 siblings, 1 reply; 6+ messages in thread
From: Marc Leeman @ 2004-12-09 17:58 UTC (permalink / raw)
  To: u-boot

> > 2. no: it's hardcoded in the Makefile
> This is wrong. It's not hardcoded. Only a _default_value_ is provided.

My  fault, wrong choice of words.

> And you must be referring to something else, but not to U-Boot.

# (C) Copyright 2000-2004
# Wolfgang Denk, DENX Software Engineering, wd at denx.de.

euhm looks like it...

but I am wrong, I am using a 'touched' file, your makefile says:

ifeq ($(HOSTARCH),ppc)
CROSS_COMPILE =
else

time to delete those changes.

> RTFM. Setting CROSS_COMPILE is _required_ when using the ELDK.

I'm always using the CROSS_COMPILE var, so I never noticed the change
when switching from ELDK to powerpc-linux-uclibc-gcc. I must have done
the RTFM sometime :)

-- 
ash nazg durbatul?k, ash nazg gimbatul,
ash nazg thrakatul?k agh burzum-ishi krimpatul

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

* [U-Boot-Users] Question to install ELDK
  2004-12-09 17:58     ` Marc Leeman
@ 2004-12-09 18:40       ` Wolfgang Denk
  0 siblings, 0 replies; 6+ messages in thread
From: Wolfgang Denk @ 2004-12-09 18:40 UTC (permalink / raw)
  To: u-boot

In message <1f729c4804120909587fa88349@mail.gmail.com> you wrote:
> 
> > And you must be referring to something else, but not to U-Boot.
> 
> # (C) Copyright 2000-2004
> # Wolfgang Denk, DENX Software Engineering, wd at denx.de.
> 
> euhm looks like it...

Looks like it, but is not. Seem someone meddled with the code.

> but I am wrong, I am using a 'touched' file, your makefile says:
> 
> ifeq ($(HOSTARCH),ppc)
> CROSS_COMPILE =
> else

This is not the relevant part...


Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Gravitation cannot be held responsible for people falling in  love."
- Albert Einstein

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

end of thread, other threads:[~2004-12-09 18:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-09  1:38 [U-Boot-Users] Question to Install ELDK 灰色 轨迹
  -- strict thread matches above, loose matches on Subject: below --
2004-12-09  1:47 [U-Boot-Users] Question to install ELDK 灰色 轨迹
2004-12-09 14:50 ` Marc Leeman
2004-12-09 15:24   ` Wolfgang Denk
2004-12-09 17:58     ` Marc Leeman
2004-12-09 18:40       ` Wolfgang Denk

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