public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Cross compile helloworld.c
@ 2013-06-26 16:10 Burning Thumb
  2013-06-26 16:19 ` Jonathan Wakely
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Burning Thumb @ 2013-06-26 16:10 UTC (permalink / raw)
  To: gcc-help

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?


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-06-26 19:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-26 16:10 Cross compile helloworld.c Burning Thumb
2013-06-26 16:19 ` Jonathan Wakely
2013-06-26 17:10   ` burningthumb
2013-06-26 17:35     ` Jonathan Wakely
2013-06-26 16:25 ` Andrew Haley
2013-06-26 16:33 ` Marc Glisse
2013-06-27 23:19   ` Ángel González

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).