![]() |
| | #1 |
| Registered User Join Date: Aug 2005
Posts: 1
| Dynamic Libraries and definition files Is there something similar possible in Linux when working with .so files? I understand there is a .la file, but I am unsure of where this fits in with the whole process. Or, am i going to have to dynamically load all my libraries on Linux? Thanks IconTree |
| IconTree is offline | |
| | #2 |
| . Join Date: Nov 2003
Posts: 293
| In terms of system impact, it's usually better to use shared libraries - they use less memory. You can link them statically - assume you created mylib.a with lots of object modules, plus you want to link C runtime statically as well. Simple example: Code: gcc mycode.c -o mycode mylib.a /usr/lib/libc.a |
| jim mcnamara is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Quantum Random Bit Generator | shawnt | C++ Programming | 62 | 06-18-2008 10:17 AM |
| Why initialization of static member is a must? | meili100 | C++ Programming | 9 | 04-11-2008 05:22 PM |
| Headers, Libraries and the rest | nickname_changed | C++ Programming | 8 | 06-23-2003 08:17 PM |
| Compile with *.lib | Kelvin | C++ Programming | 1 | 07-23-2002 06:24 PM |
| error LNK2001: unresolved external symbol | Unregistered | C Programming | 12 | 07-12-2002 08:45 PM |