Metrowerks PCS for Linux: Problems with UTS_MACHINE

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Metrowerks PCS for Linux: Problems with UTS_MACHINE

3,451 Views
fjpse
Contributor I
Hello to everybody.
 
I have imported one modified kernel (based on 2.4.18) with the Linux Kernel Imported Tool. I have compiled the kernel with the default compiler (as started project I have used the BSP for Motorola mpc860fads) successfully.
 
But now I want to use the gcc 3.3.2 to compile my kernel.
 
Then, with the GNU Toolchain Import Tool, I  import the gcc 3.3.2 that come with CodeWarrior Development Studio (Linux Platform Edition) 2.5. It's ok.
 
Next, I configure the kernel package to use the new toolchain and force rebuild the component.
 
There is a compilation error with the file init/version.c. This file uses UTS_MACHINE define, that is defined in the command line with option -D (command line defined in the Makefile at the top of the kernel directory). This define must be "ppc" (with double quotes), but is defined as ppp (without double quotes).
 
Why does it work with the default compiler but doesn't work with the imported toolchain? Some idea?
 
Thanks
Labels (1)
0 Kudos
Reply
2 Replies

784 Views
qwe
Contributor I
Hi,
I can not install PCS to Suse 10.0 ? is it not compatible???
0 Kudos
Reply

784 Views
marc_paquette
Contributor V
This page describes system requirements for the CodeWarrior Platform Creation Suite:
 
 
What problem do you encounter exactly?
 
Marc.
0 Kudos
Reply