Skip to contentSkip to conversation

how to cross compile assembly file for powerpc

DISCUSSION patel nirav 2 participants 2 messages Apr 20, 2007

lore
Share & tools
lore
#0 lore raw

hello all,
I have installed croostool for power pc.
Now I created assembly file (.s) with the help of cross compiler. ./powerpc-gcc -S hello.c
Now We have hello.s with us.
Now I make changes in the hello.s
Now I want to create binary executable of hello.s for PowerPC. So what can I do?
Any help will be appreciated.

Thanks & Regards

Nirav
Institute for Plasma Research,
India.

---------------------------------
Ahhh...imagining that irresistible "new car" smell?
Check outnew cars at Yahoo! Autos.

#1 lore raw
Quoted 10 lines · patel nirav

hello all,
I have installed croostool for power pc.
Now I created assembly file (.s) with the help of cross compiler. ./powerpc-gcc -S hello.c
Now We have hello.s with us.
Now I make changes in the hello.s
Now I want to create binary executable of hello.s for PowerPC. So what can I do?
Any help will be appreciated.

Quoted 6 lines

Thanks & Regards

Nirav
Institute for Plasma Research,
India.

Change the name of hello.s to hello.S
then type

./powerpc-gcc hello.S

That should do it.

Conn

---------------------------------------
Conn Clark

Electronic Systems Technology
415 N. Quay Street Building B1 (509)-735-9092 ext 117
Kennewick, WA. 99336

Gentoo Linux RU13$!!!