Hi,
How do I add a third party library, which has the extension .a, into my Keil project?
Since Keil IDE only allows me to add .lib files, so I rename the file from thirdparty.a to thirdparty.lib, then I am able to add.
I wonder whether or not it is safe to do that. I guess .a file was created by Linux archiving tool: ar; that thirdparty.a maybe was compiled by arm-gcc. Does Keil also use arm-gcc?
Only if you configure the IDE to do so, otherwise Keil will use their own compiler/assembler/linker which predates GNU/GCC implementations.
Get your library vendor to supply a Keil compatible library file.
thanks for your suggestion.
Strangely, I can build the final binary code and run it in my board. I have lots of testing to do; and I will come back to this forum if I run into any problem.