We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I am currently working on composing a library. I have created .h file which is header file and .c file which has functions. How can ı link both these files. (I know that ı have to create object file but how?)
The object file is what you get from compiling the 'C' source file.
To create a library of objects... Arm tools have the "armar" utility to do this
If you're using uVision, 'Create Library' is one of the Output options:
http://www.keil.com/support/man/docs/uv4/uv4_dg_adsout.htm
Hi,
I can't figure if you are beginner to Arm Compiler trying to compiler your source files in your project to generate the final image or if you are looking to create a library from the generated objects.
If you are new to Arm Compiler and want to understand how to compile your project then the following link provides a nice tool flow diagram with a worked example to step-by-step compilation: Introduction to Arm Compiler 6
If you are looking to create a library of the generated objects, then you can use the armar utility: Overview of the Arm Librarian (armar).
Thanks
Peterson
http://www.keil.com/support/man/docs/uv4/uv4_ca_createlibraryfile.htm