This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to create and link a library file to C source code

Hi,
I am trying to create a library file to make some of the functions generic.
I need to know how to create it and link it with my source code in C using uvision for c51 & 8051 developments.

Parents
  • As Reinhard says, you cannot compile a Library!

    A Library contains compiled object code - it is not a 'C' source file!

    A Library provides an input to the Linker - not to the compiler!

    Look at the Diagram of the "Software Development Cycle" in Chapter 1 of the uVision-2 Getting Started Guide (p13 in the 02.2001 version).

Reply
  • As Reinhard says, you cannot compile a Library!

    A Library contains compiled object code - it is not a 'C' source file!

    A Library provides an input to the Linker - not to the compiler!

    Look at the Diagram of the "Software Development Cycle" in Chapter 1 of the uVision-2 Getting Started Guide (p13 in the 02.2001 version).

Children
No data