gcc question
Jeff Sturm
jsturm@one-point.com
Sun Jan 6 08:27:00 GMT 2002
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/.
Jeff
More information about the Gcc
mailing list