[splint-discuss] Reinstalling gcc.

David Hawkins dwh at ovro.caltech.edu
Thu Aug 11 17:39:28 EDT 2005


Hey Vijay,
> 
> this doesnt concern splint but i was wondering if any of u know how
> to recompile gcc. Currently am running gcc as a cross compiler and
> it produces object code for PowerPC. I would like to install gcc
> on the PowerPC system itself after which, it should run as a normal
> compiler. Is there any specific way to go about doing this? 

If you have a PowerPC running gcc and want to compile a newer
version of gcc, then you don't need to do anything special.

If you want to use the PowerPC cross-compiler to build a
PowerPC native compiler, then your 'build' machine is say
an x86, your 'host' machine is a PowerPC, and your 'target'
is a PowerPC.

p10 of The definitive guide to GCC, Wall and von Hagen call
this a crossed native compile.

Dave





More information about the splint-discuss mailing list