LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-16-2008, 03:12 AM   #1
umeshdelhi
LQ Newbie
 
Registered: Jun 2008
Posts: 9

Rep: Reputation: 0
how to make a PowerPC executable??


Hi group,

I have a little problem out here. I have some codes with me which i have to run on PowerPC based target. I dont have that particular hardware with me. Can anyone suggest a cross-compiler or an emulator, so that i can compile my codes in linux and make a PowerPC executable from here. I tried qemu but it didn't work. Any help in this regard is most welcome.

Thanks in advance,
Umesh.
 
Old 12-16-2008, 04:55 AM   #2
umeshdelhi
LQ Newbie
 
Registered: Jun 2008
Posts: 9

Original Poster
Rep: Reputation: 0
Please guys.... Help me out here.. Can anyone give me a headstart??
Hoping for a positive reply,
Umesh.
 
Old 12-16-2008, 04:59 AM   #3
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596

Rep: Reputation: 80
Why didn't it work with qemu?
 
Old 12-16-2008, 06:02 AM   #4
umeshdelhi
LQ Newbie
 
Registered: Jun 2008
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks for the reply..
It was making a 386 executable rather than a powerpc executable. The cross compiler option 'powerpc-750-unknown-gnu-gcc' was not coming.. Instead it was to build a 386 based executable. I did everything following the "Emulation and cross-development for PowerPC" page in the link http://www.ibm.com/developerworks/li...emulation.html ..
qemu-ppc emulator was installed correctly but the crosstool was the problem.
Please help me out. I cant afford a VxWorks (For the workbench or the Tornado compiler). Any way out..
Can i sit on windows and do something? Is there any emulator like that?
I'm fairly new to this field. Kindly guide me through..

Thanks in advance,
Umesh
 
Old 12-16-2008, 07:05 AM   #5
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596

Rep: Reputation: 80
Why do you need a cross-compiler if you are using qemu?
Just install any ppc distro on qemu and get the ppc compiler from the repos...
 
Old 12-16-2008, 11:25 PM   #6
umeshdelhi
LQ Newbie
 
Registered: Jun 2008
Posts: 9

Original Poster
Rep: Reputation: 0
Can u elaborate a little bit on that. Where to get the distros?
 
Old 12-17-2008, 12:19 AM   #7
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596

Rep: Reputation: 80
http://us.fixstars.com/products/ydl/
http://www.gentoo.org/main/en/where.xml
http://www.debian.org/ports/powerpc/index.html
www.google.fr
...
...
...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to make any file executable kratosal Linux - Newbie 8 04-08-2008 03:50 AM
How do I make a shortcut to an executable? lakedude Linux - Software 3 03-10-2008 09:56 PM
how do you make 'icons' on executable files? servnov General 7 01-01-2005 08:11 PM
How to make a firefox executable available to all users bigfatdud Linux - Newbie 5 12-28-2004 06:08 PM
Ibm should make a Powerpc/cell Thinkpad line krisealv Linux - Laptop and Netbook 1 12-07-2004 05:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration