This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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: IBM405/Linux Cross compiler



Allen Curtis wrote:
> 
> I have tried to build a cross compiler for the IBM405 processor under
> Linux/x86. After much playing, I have decided that the problem is not a
> compiler or linker problem but rather a configuration/installation issue.
> The problem that I am having is that there are some 403/405 specific
> pneumonics that are not recognized by the assembler. (as installed) The
> problem appears to be that the option:
> 
>         -mcpu=403               ->              -mppc
>                         should be               -m403
> 
> I solved this by modifying the "specs" file.
> 
> 1. Is this the right solution?  I used the configuration options:

There is a patch in the gcc 3.1 branch that does the same thing
by editting the assembly specs arguments.  

>         --target=powerpc-linux --with-cpu=403
> 
> 2. How do you change the configuration utility so that the correct "specs"
> file is generated? This was built using 2.95.3. Inspecting the GCC files, it
> appears that 3.0.4 has the same problem.

I think this was in config/rs6000/rs6000.h so look for the patch.

> 3. Where can I find documentation on the "specs" file?

Source code. :)

> TIA
> 
> ------
> Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
> Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel@OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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