Building projects from the command line.

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Building projects from the command line.

4,950件の閲覧回数
axb
Contributor II

How to Build project using command line make in windows? Does any tool chain of s32 Design studio support this?

5 返答(返信)

3,566件の閲覧回数
ningwang
Contributor III

Or how to use linux command line to create a makefile project for the existing projects?

0 件の賞賛
返信

3,566件の閲覧回数
ningwang
Contributor III

Hi Erich,

    I meet the same problem. I want to build the MPC5748g project under command line. This project can build in S32 studio IED(linux version), and create a DEBUD/ folder, and in command line(linux version) the project can build. But if I don't have the DEBUG/ folder, how to generate the DEBUG/ or RELEASE/ under command line in linux, but not windows?

    Thanks a lot.

0 件の賞賛
返信

3,566件の閲覧回数
BlackNight
NXP Employee
NXP Employee

There is a standard feature in Eclipse to use it in command line mode (e.g. to import and build projects) which should apply to the S32DS too. Have a read at

Building Projects with Eclipse from the Command Line | MCU on Eclipse 

This extends to extra Eclipse plugins like Processor Expert too: Eclipse Command Line Code Generation with Processor Expert | MCU on Eclipse 

I hope this helps,

Erich

3,566件の閲覧回数
axb
Contributor II

Thanks

0 件の賞賛
返信

3,566件の閲覧回数
jiri_kral
NXP Employee
NXP Employee

Hi, 

 there are two possibilities. The easiest way is let the S32DS generate for you all makefiles. In this case you can use command line GNU tools for build. Disadvantage is that S32DS overwrite makefiles when project is build from S32DS and also you have to maintain makefiles manually for any change in project. 

Second way is write your own makefiles for GNU tools.