Metrowerks PCS for Linux: Problems with UTS_MACHINE

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Metrowerks PCS for Linux: Problems with UTS_MACHINE

4,249 次查看
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
标签 (1)
0 项奖励
回复
2 回复数

1,582 次查看
qwe
Contributor I
Hi,
I can not install PCS to Suse 10.0 ? is it not compatible???
0 项奖励
回复

1,582 次查看
marc_paquette
Contributor V
This page describes system requirements for the CodeWarrior Platform Creation Suite:
 
 
What problem do you encounter exactly?
 
Marc.
0 项奖励
回复