This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/.

Jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]