help-gplusplus
[Top][All Lists]
Advanced

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

options -shared and -static


From: ing
Subject: options -shared and -static
Date: Fri, 18 May 2001 09:32:41 +0200

I want to create a shared library which links libstdc++ static. It would
give me a 
possibility to use this shared library on any LINUX-Machine,
independently 
of libstdc+-release on it. 

I link my shared library with options:
gcc ... -shared -static -o MyLib.so ...

It doesn't work! MyLib.so use the .so-version of libstdc++, not the
static-version!
Why?  

Thanks,
Gennady Maly



reply via email to

[Prev in Thread] Current Thread [Next in Thread]