Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/27/04 08:20
Read: times


 
#63403 - RE: Keil C library
Responding to: ???'s previous message
How can I config Keil C to ignore uncalled functions (to reduce size)

You can't.
If you write the function, Keil - like any other compiler - will put it into the object.
If you don't want it in the object, don't compile it!
Or disable it with conditional compilation.

how can I complile a library to have this feature?

Read the Library Manager Manual
You have read the uVision Getting Started Guide, and worked through the example projects in it, haven't you?

I put individual function on separate file and compile each one

For a library to do what you require, yes.

You could also do this without a library, and use the 'Include In Build' uVision option for individual files in the Project as required.
Again, see the sion Getting Started Guide.

List of 3 messages in thread
TopicAuthorDate
Keil C library            01/01/70 00:00      
   RE: Keil C library            01/01/70 00:00      
   RE: Keil C library            01/01/70 00:00      

Back to Subject List