|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
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. 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/library/pa-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.. Any help in this regard is most welcome. Thanks in advance, Umesh. _______________________________________________ Linuxppc-embedded mailing list Linuxppc-embedded@... https://ozlabs.org/mailman/listinfo/linuxppc-embedded |
|
|
Re: how to make a PowerPC executable??Hi Umesh,
On Tuesday 16 December 2008 13:20:57 umesh krishnan wrote: > 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. > > 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/library/pa-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.. Building a gcc-based cross toolchain isn't that difficult nowadays. The crosstool scripts (available at http://www.kegel.com/crosstool/) should make your life much easier. Best regards, -- Laurent Pinchart CSE Semaphore Belgium Chaussee de Bruxelles, 732A B-1410 Waterloo Belgium T +32 (2) 387 42 59 F +32 (2) 387 42 75 _______________________________________________ Linuxppc-embedded mailing list Linuxppc-embedded@... https://ozlabs.org/mailman/listinfo/linuxppc-embedded |
|
|
Re: how to make a PowerPC executable??On Tue, 16 Dec 2008 13:26:27 +0100, Laurent Pinchart <laurentp@...> wrote: > Hi Umesh, > > On Tuesday 16 December 2008 13:20:57 umesh krishnan wrote: >> 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. >> >> 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/library/pa-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.. > > Building a gcc-based cross toolchain isn't that difficult nowadays. The > crosstool scripts (available at http://www.kegel.com/crosstool/) should > make > your life much easier. If you want to build a "native" powerpc compiler that run inside a qemu based linux system (so that you can also test the binary on this target), you could also have a look at http://impactlinux.com/fwl/ JC > > Best regards, > > -- > Laurent Pinchart > CSE Semaphore Belgium > > Chaussee de Bruxelles, 732A > B-1410 Waterloo > Belgium > > T +32 (2) 387 42 59 > F +32 (2) 387 42 75 > _______________________________________________ > Linuxppc-embedded mailing list > Linuxppc-embedded@... > https://ozlabs.org/mailman/listinfo/linuxppc-embedded _______________________________________________ Linuxppc-embedded mailing list Linuxppc-embedded@... https://ozlabs.org/mailman/listinfo/linuxppc-embedded |
| Free embeddable forum powered by Nabble | Forum Help |