public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* re: [HELP] How to create cross-compiler for e500
@ 2004-02-28  1:01 Mark Nicholson
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Nicholson @ 2004-02-28  1:01 UTC (permalink / raw)
  To: gcc-help, Everard.Brown

Everard,

    I have been able to get linux running on an MPC8540.  I used gcc 3.3.2 
along with binutils 2.14.   Motorola claims to have put e500 patches into 
the open source community, but they haven't given me a branch name yet as 
to where the checked it in.

    Binutils 2.14 does have an assembler which will generate the e500 
instruction set. (I used linux-2.4.24 and glibc-2.3.2 for reference.)

    I built my cross compilers using 'crosstool' (available at 
http://kegel.com/crosstool/) and I setup a .dat file for the processor 
like this:

TARGET=powerpc-8540-linux-gnu
TARGET_CFLAGS="-O -msoft-float -mno-string -Wa,-me500"
GCC_EXTRA_CONFIG=""
GLIBC_EXTRA_CONFIG="--without-fp"


    The most important thing is to make sure that you use '-soft-float' 
along with generating libc without-fp.

    I'm not sure that this is an *official* compiler, but it works....

~Mark


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

* [HELP] How to create cross-compiler for e500
@ 2004-02-27 18:00 Everard.Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Everard.Brown @ 2004-02-27 18:00 UTC (permalink / raw)
  To: gcc-help


Hello,

I have a couple of queries:

a) Can advise me which version of binutils and gcc is recommended for
use with PPC e500 processors?

b) When building a cross-compiler for e500 embedded target, what is the
appropriate target name (e.g. e500-eabi or powerpc-eabi)?

Thanks in advance,
  Everard Brown

****************************************************************************************

Note: The information contained in this message may be privileged and confidential and thus protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you.

****************************************************************************************

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

end of thread, other threads:[~2004-02-27 18:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-28  1:01 [HELP] How to create cross-compiler for e500 Mark Nicholson
  -- strict thread matches above, loose matches on Subject: below --
2004-02-27 18:00 Everard.Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).