This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: gcc-3.0.4, powerpc


Hi!!

Thanks for the welcome to the "exciting(?) world of crosscompiling".

I think I did it! Thanks for your help!

Well, the problem, I think, was that I was using the wrong sources, I used gcc-3.0.4.tar.gz, instead of the "core" version. I don't really know what's the difference, but now it seems to work, or at least make ends without any errors. Cool.

Next is to build the library... I'm already shaking, but I'll go through it!

I still don't really know much about the "target", I see that there're many different powerpc kinds... I compiled for eabi, but I don't know what's that, or I'm missing something. I think I'll repeat the steps for powerpc-linux, and powerpc-elf, now that it works, it is even fun. Can someone brief me the difference between them? Thanks again!

The FAQ I read was at
http://www.objsw.com/CrossGCC/index.html

The other links you gave me are very welcome also! Nice, nice nice!

Thanks a lot a lot a lot!

/Josep Puigdemont

-----Original Message-----
From: Vermeulen Jan [mailto:Jan.Vermeulen@siemens.atea.be]
Sent: Thursday, March 14, 2002 9:43 AM
To: 'Josep Puigdemont (ETX)'
Cc: CrossGCC (E-mail)
Subject: RE: gcc-3.0.4, powerpc


Hello Josep,

>  I'm new at this, but I read the FAQ and all that, and I hope 
> I'm not posting a typical newbie problem (if so, apologize in 
> advance, and let me know), here we go:

Welcome to the exciting(?) world of crosscompiling ;)

>   First:
> 	how can I know which "targets" I can compile a 
> cross-compiler for?
> 	Where can I find a complete list?

Use the web Luke !

The targets are all explained on the following page
http://gcc.gnu.org/onlinedocs/gcc-3.0.3/gcc_3.html#SEC3

(search for "Hardware Models and Configurations")


>   Second (and most important for me):
> 	I'm trying to make a cross-compiler for powerpc, in a 
> Linux RedHat 7.2 host (standard distribution, no add-ons, etc).
> 	I followed the order explained in the FAQ, so I 
> compiled successfully binutils, at least I hope, and they 
> seem to run, but I don't know how to be sure.

Well, your libiberty problem is a common one.
Which FAQ did you follow?

I managed to build a C, C++ compiler with Newlib (also on RH7.2) using
Bill's FAQ which can be found here:
(the libibery problem is explained there)
http://crossgcc.billgatliff.com/

A small note: 3.0.4 is getting more stable, but 2.95.3 is a proven
sollution.
I like the new optimisation tricks of the 3.x series, as well as new C++
features. And I like to tinker with it from time to time.
But when I make new commercial firmware for a board, I'm still using 2.95.3
until the 3.x branch is considered stable enough.

Let us know if it worked for you.

Best regards,
Jan

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]