[Test] [ELDK] Ubuntu 12.04 and ELDK 4.1

Dmitry S. Vasilchenko newdimm at gmail.com
Mon Jun 25 17:00:49 CEST 2012


Wolfgang,

Thank you for the answer! Sorry, maybe I was not clear in the frist message.

On Mon, Jun 25, 2012 at 6:19 PM, Wolfgang Denk <wd at denx.de> wrote:
> I'm not exactly sure what you are trying to do here, but please note
> that this method to run the ELDK tool chain is almost always wrong.
> Please stick to the documetnation provided in the manula, i. e. set
> CROSS_COMPILE correctly, and then use ${CROSS_COMPILE}gcc to run the
> compiler.

>From the ELDK Manual (3.8.2, Rebuilding Target Packages):
<<<<
The $CROSS_COMPILE environment variable must be set as appropriate for
the target CPU family.
The <ELDK_root>/usr/ppc-linux/bin directory must be in PATH before the
/usr/bin directory. This is to make sure that the command gcc results
in the fact that the ELDK cross compiler is invoked, rather than the
host gcc.
>>>>

That is exactly what I did:
$ cd /opt/eldk
$ . eldk_init ppc_6xx
$ export PATH=/opt/eldk/usr/ppc-linux/bin:$PATH

Saddly, a lot of packages still have no notion of cross-compilation
and do need cross compiler to be invoked as gcc for cross-building.

>
> Bye the way: ELDK 4.2 is really obsolete; we are at ELDK 5.2 now (and
> actually ELDK v5.2.1 is on the verge of being released).

Yep, we are moving toward it, but still have to support the old system...

-- 
Best regards,
Dmitry S. Vasilchenko
_______________________________________________
eldk mailing list
eldk at lists.denx.de
http://lists.denx.de/mailman/listinfo/eldk




More information about the Test mailing list