Re: Patching away the use of static libraries
[email protected] (Paul Jarc) Tue, 23 Jul 2002 14:36:48 -0400
| Newsgroups | gmane.org.djb.miscellaneous |
|---|---|
| Organization | What did you have in mind? A short, blunt, human pyramid? |
| Message-ID | <[email protected]> |
Malte Tancred <[email protected]> wrote: > I patched the makefile so that no libraries were generated, eg: ... > It's ugly but it compiles without warnings and the programs > seem to work as expected. > > What I am wondering if is this kind of patching is "ok"? It should have the same results, except that you may be including objects that aren't needed for a particular program. You could try linking just the original .o files, and see which symbols are left undefined, and then include only the necessary object files that would have been found in the library. paul