Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

SDCC library made by sdcclib?

2010-02-18
2013-03-12
  • 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?

     
  • Borut Ražem
    Borut Ražem
    2010-02-18

    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".

    Borut

     
  • Thanks Borut, I guess it is time to update the manual I have and upgrade to 2.9.0. Thanks again.

     
  • Borut Ražem
    Borut Ražem
    2010-02-18

    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.

    Borut