precompiled library.a instructions for use?

Hi everybody,
I use Keil uvision 5.10.0.0 and ARMCC as compiler.
I have been given a libmain.h and library.a compiled with Cross-studio for ARM (gcc-arm-unknown-elf) for Cortex M3 ARMv7M, FP soft, FPU none.
Is it possibile to use such files in my development environment? In case it is, what am I supposed to do?
Thank you
Emmanuela

Parents
  • The ABI should probably be fine, but the library might have external dependencies for library functions, etc which you might not be able to resolve easily. You could add the .a to a project, along with some test code, and see if it links or not.

    You might be able to fix the linkage with wrapper/translation functions.

    You might be able to use Keil with the GNU/GCC compiler/tools.

    Probably easier to seek source code, or a library built/targeting Keil.

Reply
  • The ABI should probably be fine, but the library might have external dependencies for library functions, etc which you might not be able to resolve easily. You could add the .a to a project, along with some test code, and see if it links or not.

    You might be able to fix the linkage with wrapper/translation functions.

    You might be able to use Keil with the GNU/GCC compiler/tools.

    Probably easier to seek source code, or a library built/targeting Keil.

Children
More questions in this forum