cancel
Showing results for 
Search instead for 
Did you mean: 

How to link a static library?

Takayoshi Ishii
Associate III
Posted on January 31, 2018 at 16:29

Hello,

Let me know how to link a static library.

I made a PCB with STM32L0, and use keil uVision5 environment.

I want to use a static library like 'xx.a', but I don't know how to link it.

I checked 'Options for Target' -> 'Linker', but I don't think I can edit the linker string.

1 ACCEPTED SOLUTION

Accepted Solutions
Posted on January 31, 2018 at 16:41

Just add it to the project, ie Add Existing File to Group, select the *.a, *.o or *.lib

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

View solution in original post

3 REPLIES 3
Posted on January 31, 2018 at 16:41

Just add it to the project, ie Add Existing File to Group, select the *.a, *.o or *.lib

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Andrew Neil
Evangelist
Posted on January 31, 2018 at 17:33

Very first hit on putting 'keil add library to project' into google:

http://www.keil.com/support/docs/3189.htm

 
Takayoshi Ishii
Associate III
Posted on February 01, 2018 at 02:12

Thank you guys!

It was so easy...