--target= for building gcc cross-compiler?

Kai Ruottu kai.ruottu@wippies.com
Thu Jan 21 11:25:00 GMT 2010


Kai Ruottu wrote:
> Németh Márton wrote:
>> Hi,
>>
>> I would like to buld a gcc cross compiler for Freescale MPC5554 
>> [1][2] and for
>> Freescale MPC5534 [3][4]. These are PowerPC based processors with 
>> e200z6 and
>> e200z3 core respectively.
> Some PPC specialist could tell if the 'e200z*' cores are those 'e500' 
> type cores and therefore needing
> a target name like 'powerpc-linux-gnuspe'  - no "custom" name for the 
> vendor like "marton", in your
> case a target name like 'powerpc-marton-linux-gnuspe' could be 
> possible...
Without knowing anything about the subject the wise way is to google or 
something, so quite easily a
search with "GCC for e200" gave the :

http://gcc.gnu.org/ml/gcc/2005-09/msg00250.html

So using a target name like 'powerpc-nemeth-linux-gnuspe' could be 
suitable for your purpose....

Hopefully you are aware about what producing a "kernel compiler" means.  
I would expect no
'libgcc's for the target being required so producing and installing 
first binutils for your target (with
just the same '--prefix=$prefix' you will use with GCC) and then  
configuring GCC and making
& installing it using 'make all-gcc ; make install-gcc',  should work...
 



More information about the Gcc-help mailing list