How build MPC5748G gcc cross compiler

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

How build MPC5748G gcc cross compiler

Jump to solution
1,175 Views
danielnäslund
Contributor III

We're setting up our CI buildsystem and want to build the  gcc 4.9.4 cross compiler for our Linux docker container.

 

I've gotten the impression from https://community.nxp.com/t5/S32-Design-Studio/S32-Design-Studio-GCC-VLE-4-9-4-doesn-t-support-e-stm... that you have patched your gcc.

 

How can I build it using crosstool or other means?

0 Kudos
1 Solution
1,115 Views
mikedoidge
NXP Employee
NXP Employee

Hello @danielnäslund ,

 

You can download the latest Power Architecture GCC sources from here:

https://www.nxp.com/lgfiles/updates/S32DS/S32DS_PA_2017.R1_GCC.tar

Extract the tarball and you'll find the build scripts are included as well.

Follow the instructions in the README in the ‘source_release’ directory.

Let us know if you have trouble, but be aware that trying to build on oddball (either too old or too new) Linux distributions could be problematic. Something in the vicinity of RH5 or 6 should be ok.

Docker itself is not a problem. You can ask docker for just about any Linux distribution – so that’s the potential problem.

Best Regards,

Mike

View solution in original post

1 Reply
1,116 Views
mikedoidge
NXP Employee
NXP Employee

Hello @danielnäslund ,

 

You can download the latest Power Architecture GCC sources from here:

https://www.nxp.com/lgfiles/updates/S32DS/S32DS_PA_2017.R1_GCC.tar

Extract the tarball and you'll find the build scripts are included as well.

Follow the instructions in the README in the ‘source_release’ directory.

Let us know if you have trouble, but be aware that trying to build on oddball (either too old or too new) Linux distributions could be problematic. Something in the vicinity of RH5 or 6 should be ok.

Docker itself is not a problem. You can ask docker for just about any Linux distribution – so that’s the potential problem.

Best Regards,

Mike