In present I study about Autosar.
My development environment is as follows.
1. S32 with gcc
Recently I downloaded the MCAL library provided by NXP. And configured using Tresos.
I also success build and compile about MPC574xG using gcc in S32.
And I downloaded the AUTOSAR library provided by NXP. But When I looked at the source code, it seemed impossible to compile with gcc.
Neither Autosar MCAL drivers nor Autosar OS are currently not supported by S32 Design Studio for Power (GCC compiler).
The supported toolchains are GHS and Windrivers.
Anyway you can customize the source files to work with GCC compiler.
Most of the source files are just C code but there are some compiler vendor specific attributes/pragmas/linker files,etc...
You can e.g start with GHS version and try to adjust it for GCC compiler:
Please find some useful links below:
Hope it helps.