Linking static and dynamic libraries
Roman Pagac
roman_pagac@hotmail.com
Wed Jan 12 18:23:00 GMT 2005
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/
More information about the Gcc
mailing list