GCC toolchain for P2020

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

GCC toolchain for P2020

跳至解决方案
2,264 次查看
ericfornstedt
Contributor III

Hi,

 

We have a project using the P2020 processor where we need to switch to a GCC toolchain instead of the Freescale PPC toolchain, for example gcc-4.9.2-Ee500v2-eabispe. For a number of processors you can choose to use either Freescale PPC or GCC toolchain when creating a new project in CodeWarrior (10.5.1), but for the P2020 the GCC toolchain is not available for some reason.

 

So, how can we switch to a GCC toolchain for the P2020? There are many source code files (and linker file) in a P2020 project template that have Freescale PPC compiler specific syntax and therefore cannot be compiled with GCC right away. Are there templates suitable for P2020 and for GCC elsewhere we can use?

 

BR

/ Eric

标记 (4)
0 项奖励
回复
1 解答
2,255 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Please create a bareboard project for P2020DS, then modify Toolchain configuration from Project->Properties->C/C++ Build->Toolchain Editor.

Please configure Current toolchain as: PowerPC EABI e500v2 C Toolchain Release.

Current builder as: PowerPC EABI e500v2 Release Builder

There is no template for P2020 GCC toolchain, you could create a bareboard project for P4080DS to do reference.

在原帖中查看解决方案

标记 (1)
2 回复数
2,226 次查看
ericfornstedt
Contributor III

Thank you,

Using the information from a P4080DS build we were able to do the necessary changes for our P2020 build.

0 项奖励
回复
2,256 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Please create a bareboard project for P2020DS, then modify Toolchain configuration from Project->Properties->C/C++ Build->Toolchain Editor.

Please configure Current toolchain as: PowerPC EABI e500v2 C Toolchain Release.

Current builder as: PowerPC EABI e500v2 Release Builder

There is no template for P2020 GCC toolchain, you could create a bareboard project for P4080DS to do reference.

标记 (1)