This is the mail archive of the
mailing list for the GCC project.
Re: gcc question
- From: Jeff Sturm <jsturm at one-point dot com>
- To: steven blakeslee <thesbman at msn dot com>
- Cc: gcc at gnu dot org
- Date: Sun, 6 Jan 2002 11:27:27 -0500 (EST)
- Subject: Re: gcc question
On Sun, 6 Jan 2002, steven blakeslee wrote:
> Do you know where I can find a version of gcc that runs on an x86 machine
> but can compile a program for a powerpc machine?
You want a cross compiler. You'd specify this in the --target option to
configure. You will probably also need to configure/build binutils for
the powerpc target, along with suitable headers/libraries.
There's a somewhat dated FAQ at http://www.sthoward.com/CrossGCC/.