This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Linking static and dynamic libraries
- From: "Roman Pagac" <roman_pagac at hotmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Wed, 12 Jan 2005 19:07:30 +0100
- Subject: Linking static and dynamic libraries
- Bcc:
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/