[ELDK] ELDK : ppc-linux-gcc and ppc_4xxFP-gcc

Wolfgang Denk wd at denx.de
Thu Jan 8 10:59:06 CET 2009


Dear Ren,

In message <a8474bd70901080115g4172a428h5eeff9b75df4a7fd at mail.gmail.com> you wrote:
> 
> I am a new bie to the forum ,
> pls bear with me, if my questions are not fine to time.

You are welcome.

> 1)
> What is the difference between  these 2 compilers  ppc-linux-gcc &
> ppc_4xxFP-gcc

powerpc-linux-gcc is the binary that is used as C compiler for all 32
bit PowerPC processors; ppc-linux-gcc is a generic link to this file.
To use the compiler, you  have  to  inform  it  about  the  processor
architecture  you  wan  to use. this is done in two ways: through the
setting of the CROSS_COMPILE environment variable,  and  through  the
name by which you call the compiler.

> Or Are they both same(symbolic link). ??

Well, you can easily check this yourself, right?

> If ppc_4xxFP-gcc is a Symbolic link to ppc-linux-gcc , there is nothing
> wrong in Using this compiler for 440EPx ?

You introduced yourseld as a newbie - as such I strongly recommend you
to read the documentation, and follow it to the letter, until you
understand exactly what you are doing.

The  documentation  is  pretty  strict  about  the  setting  of   the
CROSS_COMPILE     environment     variable,     and    about    using
"${CROSS_COMPILE}gcc" as the only recommended way to run the compiler
(except for a few very special, well documented situations).

Please follow the documentation, or be prepared to run into
"interesting" (but probably unexpected by you) side effects.

> 2).
> I have got ppc-linux-* compiler at /opt/eldk/usr/bin.
> I dont find the ppc_4xxFP-* suite.

Then you probably did not install the ppc_4xxFP packages?

> 3).
> I have a sequoia board  (ppc_4xxFP) and installed ELDK.
> Is it necesary for me to install and build full ELDK  ?

You don't have to install everything, installing the ppc_4xxFP
packages is sufficient.

You don't have to rebuild the ELDK at all.

> Or can I use Prebuilt binary for this compilers for linux/u-boot/filesystems

It is the idea of the ELDK to provide ready-to-use (and known  to  be
working) binaries, so no rebuilding of any tools is needed.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
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
CAUTION:  The Mass of This Product Contains the Energy Equivalent  of
85 Million Tons of TNT per Net Ounce of Weight.


More information about the eldk mailing list