I read through the SDCC manual about how to create *.lib. I tried to run sdcc -s libsdcc.lib to see what modules and symbols are included yet I got an error message saying that libsdcc.lib is not made by sdcclib. Can anyone explain what kind of library is it?
Staring with version 2.9.0, sdcc uses ar format libraries.
See sdccman.lyx, chapter 3.1.6 "Using ar to Create and Manage Libraries".
Thanks Borut, I guess it is time to update the manual I have and upgrade to 2.9.0. Thanks again.
If you are using an older sdcc version, the lib files are plain ASCII text files, containing a list of object file names, constituting the library. You can view & edit & create them with any text editor. The "official" sdcc libraries distributed with sdcc packages never used the sdcclib format.