Cross compile helloworld.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You know I thought this would be so easy, and maybe it is...

I'm running Ubuntu 13.04 on an intel machine and I want to cross compile helloworld.c so that the resulting binary will execute on Ubuntu on a powerpc machine.

So something simple like:
 gcc helloworld.c --target powerpc-linux -o helloworldppc

But the answer seems to always come back how to cross compile gcc itself...

Anyone have a one liners on how to simply cross compile helloworld.c for ubuntu ppc?







[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux