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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/06/06 08:58
Read: times


 
#125887 - Uncalled segments problem with library
Hi everyone,

I am developing an API library for an 8051 chip. The library should offer an abstraction to the application developer, so he doesn't have to go deep to the HW knowledge.
Currently I am developing the lib in Keil but the source code should be also SDCC compatible.
I have problems with the uncalled segments. The application usually doesn't use all the functions from the library, so I get these warnings from Keil compiler.

I have found an option in the LX51 linker: REMOVEUNUSED, but it won't work with SDCC.

I think I could avoid these warning if I would place all my functions to a separate file. But I am not quite keen on with this idea.

Anybody has any experience or idea how to solve this problem? Does anybody know what is the structure of is the stdio or other standard libraries in Keil?

I will apriciate any answers, thanks a lot.


List of 32 messages in thread
TopicAuthorDate
Uncalled segments problem with library            01/01/70 00:00      
   Work with the tools!            01/01/70 00:00      
      I didn't know that is the standard way...            01/01/70 00:00      
         Not a 'C' language issue.            01/01/70 00:00      
         Not True            01/01/70 00:00      
   abstraction my butt            01/01/70 00:00      
      Abstraction HAS a meaning in embedded            01/01/70 00:00      
         yes sure            01/01/70 00:00      
         so why do you do these things            01/01/70 00:00      
            Maybe I don't know what abstraction is...            01/01/70 00:00      
               Hardware knowledge            01/01/70 00:00      
      Abstraction: NOT Always Bad            01/01/70 00:00      
         10 points Russ            01/01/70 00:00      
            shades of grey            01/01/70 00:00      
               Maybe abstraction is not the issue            01/01/70 00:00      
                  Useful?            01/01/70 00:00      
                     Pascal            01/01/70 00:00      
                     etc, etc            01/01/70 00:00      
                  is a libray function an "abstraction"?            01/01/70 00:00      
                     Is a library function an abstraction?            01/01/70 00:00      
                  I rest my case, m'lud            01/01/70 00:00      
                     Attila! Where are you?            01/01/70 00:00      
                  CodeArchitect?            01/01/70 00:00      
                     CodeArchitect?            01/01/70 00:00      
                     it generates source code; however            01/01/70 00:00      
         about abstraction ...            01/01/70 00:00      
            By Jove, I think you've got it!            01/01/70 00:00      
         Some more info why I wan't to use an API            01/01/70 00:00      
            a TOTALLY different story            01/01/70 00:00      
               Provide the source code...            01/01/70 00:00      
            Some more info why I wan't to use an hard disk            01/01/70 00:00      
               two mistakes            01/01/70 00:00      

Back to Subject List