can i add a .lib file on the project of S32DS for arm ?

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

can i add a .lib file on the project of S32DS for arm ?

1,268 Views
jinhui_wu
Contributor III

i want to add a .lib file on my project about S32K144.

what i should do ?

0 Kudos
Reply
2 Replies

1,022 Views
stanish
NXP Employee
NXP Employee

Hi,

Just a comment to the name of added library.

GCC/linker expects the default library <name> : lib<name>

if there is a different prefix than "lib" please add ":" as a leading character.

pastedImage_1.png

real library file nameGCC Libraries dialog - Enter Value dialog
libmy_math.a
my_math.a
my_math.a
:my_math.a

Regards,

Stan

0 Kudos
Reply

1,022 Views
jiri_kral
NXP Employee
NXP Employee

Hello, 

right click on your project name in the Project explorer -> Properties -> C/C++ Build -> Settings -> Libraries 

Click on add icon in libraries text area and type your_library.lib. If your_library.lib is not in the default library search path - you should also add path to your library. 

pastedImage_1.png

Jiri

0 Kudos
Reply