openSUSE Forums > Archives > SF Archives > ARCHIVES - PPC » Cross Compiler Support

Go Back   openSUSE Forums > Archives > SF Archives > ARCHIVES - PPC
Forums FAQ Members List Search Today's Posts Mark Forums Read

ARCHIVES - PPC Questions specific to PowerPC systems running SUSE Linux
(Questions that apply to both PPC and non-PPC systems should be posted in the appropriate mixed architecture forums)

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 23-Aug-2006, 05:57
Richard (MQ)
Guest
 
Posts: n/a
Default

Back in the days of SuSE 7.1 we had cross-compilers as separate tool packages e.g. cross-ppc-gcc. I'm trying to update a tool chain based on this (runs on x86, produces code to run on embedded PPC target platform), but there is no sign of this package in 10.1.

Can anyone advise me what happened to it?

** Seeing as this post has been moved by an administrator from the general 'software' thread to 'PPC', I should stress that it's an x86 package that I'm looking for to cross compile to PPC - not to run on PPC itself. **

Thanks,
Richard aka MQ
  #2 (permalink)  
Old 23-Aug-2006, 06:36
ken_yap
Guest
 
Posts: n/a
Default

Quote:
Back in the days of SuSE 7.1 we had cross-compilers as separate tool packages e.g. cross-ppc-gcc. I'm trying to update a tool chain based on this (runs on x86, produces code to run on embedded PPC target platform), but there is no sign of this package in 10.1.

Can anyone advise me what happened to it?

** Seeing as this post has been moved by an administrator from the general 'software' thread to 'PPC', I should stress that it's an x86 package that I'm looking for to cross compile to PPC - not to run on PPC itself. **

Thanks,
Richard aka MQ
[/b]
I suppose they decided that anybody who needed such a thing would be able to make one themselves, and the space would be better used for other packages. It's not just the compiler you need but also the runtime libraries, include files, etc. 7.1 was a long time ago, really.
  #3 (permalink)  
Old 23-Aug-2006, 09:07
Richard (MQ)
Guest
 
Posts: n/a
Default

It seems that the cross-compilation is now built in to gcc - use compiler option -mpowerpc
However as ken_yap notes, the run-time libraries etc. are another problem, maybe I can take them from the PPC version of the distribution?

Has anyone else done anything similar - please!!

Cheers
Richard aka MQ
  #4 (permalink)  
Old 23-Aug-2006, 16:54
ken_yap
Guest
 
Posts: n/a
Default

Quote:
It seems that the cross-compilation is now built in to gcc - use compiler option -mpowerpc
However as ken_yap notes, the run-time libraries etc. are another problem, maybe I can take them from the PPC version of the distribution?

Has anyone else done anything similar - please!!

Cheers
Richard aka MQ
[/b]
No, the -mpowerpc is only active if you have a PPC build. That man page lists all the possible options in all versions. You still have to build your own cross-compiler. There are instructions at the gcc website.
  #5 (permalink)  
Old 24-Aug-2006, 01:42
Richard (MQ)
Guest
 
Posts: n/a
Default

Gaa! Thanks for that - I would have spent a while wondering what was going on!

I've also approached the orignal supplier of the embedded system, asking politely if they've updated their tools since the days of SuSE 7.1. They are still selling it - it's still in the price list and on their web site - but it sounds like there's a fair bit for them to do to bring it up to date.

This feels like being a long, hard, slog.

Thanks again
Richard.
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2