I am using s32ds v1.2 power pc for my project which is based on mpc5748g. As per requirement , We need to build Project from command line instead of using s32ds.
May be with own make file ,How can I build and generate elf file for my project with own make file ?
Any suggestion can be highly appreciated.
You can of course create your own makefile and call the command line gcc/binutils yourself:
In fact IDE project generates make files automatically. So you can adjust the generated makefile to match your need.
Other approach is to run eclipse in headless mode and benefit from eclipse IDE features such as makefile generator.
See more info e.g. here:
Hope it helps.