Linking dynamic a static libraries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

I am sorry for my newbie question. I am building my application which uses static(non-shared) and dynamic(shared) libraries. When I am building executable using gcc ver. 3.3.2 I want to specify bindings of libraries for linking either static or dynamic. But I do not know how to specify for particular libraries that bindings for linking should be static and for other libraries bindings for linking should be dynamic. I know that in cc compiler it is in way that I will put before library -B static or -B dynamic but in gcc ver.3.3.2 I really do not know how to do it. And what is the default bindings of libraries for linking (if I do not specify any option)?

Thanks a lot.


Regards, Roman Pagac.

_________________________________________________________________
Flirt bez vyslovenia jedineho slova s MSN Messenger 6.2 http://messenger.msn.sk/



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux