Can not find Standard S32DS C Linker Setting

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

Can not find Standard S32DS C Linker Setting

1,889件の閲覧回数
port
Contributor I

Hi, 

I am trying to add library file. 

According to 'HOWTO_Add_a_static_library_file_into_S32DS_GCC_project' doc

I should add lib in 'S32DS C  Linker' like below

port_0-1610672088678.png

 

However, I cannot find tat setting category like below

I am using 2.1 ver for Power Architecture.

How can I find that

port_1-1610672202037.png

 

 

 

 

 

0 件の賞賛
返信
5 返答(返信)

800件の閲覧回数
NXP2
Contributor I

Hello, I follow the normal methods of generating and adding static libraries. When I added static libraries, the following error appeared. May I ask what caused it?

Building target: BMS_2_2.elf
Invoking: Standard S32DS C Linker
arm-none-eabi-gcc -o "BMS_2_2.elf" "@BMS_2_2.args"
arm-none-eabi-gcc.exe: error: : No such file or directory
make: *** [makefile:86: BMS_2_2.elf] Error 1
"make -j16 all" terminated with exit code 2. Build might be incomplete.

0 件の賞賛
返信

782件の閲覧回数
jiri_kral
NXP Employee
NXP Employee

Hi, 

I'm not sure about your scenario, did you created new project (File -> New S32DS Project) or you added some library into existing one and compilation stops working? Can you please share more details? 

0 件の賞賛
返信

1,883件の閲覧回数
stanish
NXP Employee
NXP Employee

Hi Port,

the missing Linker project settings indicate this is a library project instead of an exectutable S32DS project.

The screenshot depicted in HOWTO document refers to the Executable project which adds a library.

Hope it helps.

Stan

 

 

0 件の賞賛
返信

1,858件の閲覧回数
port
Contributor I

Thank you for your answer. I am still trying

0 件の賞賛
返信

1,856件の閲覧回数
jiri_kral
NXP Employee
NXP Employee

Hi, 

basically - there are two type of S32DS projects: Library (after build you get .a library archive file) and executable project (you get .elf executable file).

in library project there is no linker settings. Library is just set of functions.

Linker settings is necessary for executable (.elf) project. 

 

Hope it helps. 

 

0 件の賞賛
返信