By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,137 Members | 1,024 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,137 IT Pros & Developers. It's quick & easy.

Static compilation with libstc++6 ?

P: n/a
Hi,
I need to compile enblend (http://enblend.sourceforge.net) such
that libstdc++6 and libgcc are statically linked in but everything
else maybe dynamically linked (as my system has gcc 3.3 and it needs
gcc >= 3.4 to compile and I use Debian/Stable so don't want to
upgrade). The program has a standard autotools build system.

I would be greatfull if you could give me a pointer to how
I may go about doing this. From the man pages I gather I should
use -static and -static-libgcc for CFLAGS and CXXFLAGS. Is this
correct and if not what else needs to be done ?

regards
b thomas
Dec 20 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On Dec 20, 6:47 am, B Thomas <n...@email.comwrote:
Hi,
I need to compile enblend (http://enblend.sourceforge.net) such
that libstdc++6 and libgcc are statically linked in but everything
else maybe dynamically linked (as my system has gcc 3.3 and it needs
gcc >= 3.4 to compile and I use Debian/Stable so don't want to
upgrade). The program has a standard autotools build system.

I would be greatfull if you could give me a pointer to how
I may go about doing this. From the man pages I gather I should
use -static and -static-libgcc for CFLAGS and CXXFLAGS. Is this
correct and if not what else needs to be done ?
Sorry, this is compiler specific and thus off-topic. Try one of the
gnu/gcc mailing-lists or some forum.

--
Erik Wikström

Dec 20 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.