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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

1,271 次查看
jinhui_wu
Contributor III

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

what i should do ?

0 项奖励
回复
2 回复数

1,025 次查看
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 项奖励
回复

1,025 次查看
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 项奖励
回复