How to add and use a new static library (such as the static library libacalg.a)?

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

How to add and use a new static library (such as the static library libacalg.a)?

591 Views
1948396491
Contributor II

Hello, I have a question now.How I added a new static library (libacalg.a) to jn-5169.And how do I use it?How do you call a function inside that doesn't compile wrong?Could you give me a demonstration or an example?Thank you so much!

lib.png

0 Kudos
2 Replies

498 Views
Sebastian_Del_Rio
NXP Employee
NXP Employee

Hi, I hope you're doing well!

 

You could try adding a reference to your library in the makefile for the project, however, it's not guaranteed that the compiler will support adding custom .a libraries.

 

Could you please let me know what your end application is? So I can see if there are alternatives to adding this custom library.

 

Please let me know if you have any more issues.

 

Best regards,

Sebastian

0 Kudos

498 Views
BlackNight
NXP Employee
NXP Employee

Are these functions defined with external linkage in that library?

0 Kudos