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
已解决! 转到解答。
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.
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.