[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-date: Mon Feb 9 15:24:31 2004 -->
- <!--x-from-r13: owbea ng fppf.fjneguzber.rqh (Pwbea Rvggzre-Dbpur) -->
- <!--x-message-id: [email protected]-a-geek.com -->
- <!--x-subject: [ale] c++, dynamic linking etc. -->
- <li><em>date</em>: Mon Feb 9 15:24:31 2004</li>
- <li><em>from</em>: bjorn at sccs.swarthmore.edu (Bjorn Dittmer-Roche)</li>
- <li><em>subject</em>: [ale] c++, dynamic linking etc.</li>
I've compiled a c++ program and ran ldd on it:
libm.so.6 => /lib/libm.so.6 (0x40023000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40045000)
libpthread.so.0 => /lib/libpthread.so.0 (0x4004d000)
libc.so.6 => /lib/libc.so.6 (0x4009d000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
I expect (and want) to see libstdc++, but I don't. Is it being statically
linked? How can I avoid that? I've looked at the gcc manual and all I can
find is stuff about using NO standard libraries, which makes it very
difficult to compile things. So, how can I make sure libraries are
dynamically linked?
Ultimately what I'm trying to do, BTW, is release a program in binary form
only without violating (L)GPL, but I also want it to be compatible with as
many distro's as possible.
thanks,
bjorn
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00333" href="msg00333.html">[ale] c++, dynamic linking etc.</a></strong>
<ul><li><em>From:</em> astewart at layton-graphics.com (Alan Stewart)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00304.html">[ale] HP NetServer Lxr Pro and Red Hat 9</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00306.html">[ale] Free Lindows Developers Edition</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00292.html">[ale] OT: RCA video</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00333.html">[ale] c++, dynamic linking etc.</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00305"><strong>Date</strong></a></li>
<li><a href="threads.html#00305"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>