Next: Archives
Up: Writing Good GNU/Linux Software
Previous: Errors and Resource Allocation
Contents
Writing and Using Libraries
- Virtually all programs are linked against one or more libraries.Any program that uses a C function (such as printf or malloc) will be linked against the C runtime library.
- If your program has a graphical user interface (GUI), it will be linked against windowing libraries.
- In each of these cases, you must decide whether to link the library statically or dynamically.
- If you choose to link statically, your programs will be bigger and harder to
upgrade. If you link dynamically, your programs will be smaller, easier to upgrade.
Subsections
Cem Ozdogan
2007-05-16