This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Linking dynamic a static libraries


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 Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]