Can not find Standard S32DS C Linker Setting

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Can not find Standard S32DS C Linker Setting

1,133 Views
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 Kudos
5 Replies

44 Views
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 Kudos

26 Views
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 Kudos

1,127 Views
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 Kudos

1,102 Views
port
Contributor I

Thank you for your answer. I am still trying

0 Kudos

1,100 Views
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 Kudos