Re: [Sdcc-user] SDCC - own libs

2011-12-06 Thread Borut Ražem
Michal, see sdccman, chapters 3.1.4 - 3.1.6. I recommend to use ar formatted libraries as described in chapter 3.1.6, since the sdcclib utility and sdcclib formatted libraries might be obsoleted in the future. Borut On 12/06/2011 02:57 PM, Michal Hucik - ORDOZ wrote: Hello, I would like

Re: [Sdcc-user] SDCC - own libs

2011-12-06 Thread Philipp Klaus Krause
What you want is called static linking, not dynamic linking. It can be done like this: Compile all your library functions into .rel files. Then create a library from them using sdcclib your_library.lib your_lib_object_file0.rel your_lib_object_file1.rel and so on. And then link the library into y