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
However, I cannot find tat setting category like below
I am using 2.1 ver for Power Architecture.
How can I find that
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.
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?
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
Thank you for your answer. I am still trying
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.