Hi,
As for steps on how to compile an S32G3 M7 core application without S32DS, you should be able to follow the steps shown under the EB tresos examples provided under the RTD's. These examples provide a Makefile which should be configured to link to the correct toolchain as well as the linker files that are required. i.e. you should be able to find the blink example under the following path:
"C:\nxp\S32DS.3.5\S32DS\software\PlatformSDK_S32XX_4_0_0\RTD\Dio_TS_T40D11M40I0R0\examples\EBT\S32G3\Dio_ToggleLed_S32G399A_M7"
In here, aside from generating the EB Tresos configurations correctly, you need to modify the "project_parameters.mk" file to have the correct PATHs. More information should be provided under the "readme.txt" file under the same path.
The path could vary depending on which versions you have installed. Aside from this, we are not seeing any specific step by step guide on how to enable your workspace for S32G3 M7 compilation. We do apologize.
Please, let us know.