IBM405/Linux Cross compiler
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:
--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.
3. Where can I find documentation on the "specs" file?
TIA
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Dear Allen,
Quoted 7 lines · in message <[email protected]> you 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:
You can download a complete and _working_ set of cross and native tools (our ELDK = Embedded Linux Development Kit) for free; you can also use our build scripts and patches to build the tools from scratch if you like - see the documentation at
http://www.denx.de/ELDK/
Hope this helps,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected] Business is like a wheelbarrow. Nothing ever happens until you start pushing.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/