[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Wed Feb 11 10:04:48 2004 -->
- <!--x-from-r13: owbea ng fppf.fjneguzber.rqh (Pwbea Rvggzre-Dbpur) -->
- <!--x-message-id: [email protected]-a-geek.com -->
- <!--x-reference: [email protected]-a-geek.com -->
- <!--x-reference: 4028F4CD.2000908@layton-graphics.com -->
- <!--x-reference: [email protected]-a-geek.com -->
- <!--x-reference: 40291AF5.1030506@layton-graphics.com --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] c++, dynamic linking etc. -->
- <li><em>date</em>: Wed Feb 11 10:04:48 2004</li>
- <li><em>from</em>: bjorn at sccs.swarthmore.edu (Bjorn Dittmer-Roche)</li>
- <li><em>in-reply-to</em>: <<a href="msg00345.html">[email protected]</a>></li>
- <li><em>references</em>: <<a href="msg00305.html">[email protected]</a>> <<a href="msg00333.html">[email protected]</a>> <<a href="msg00338.html">[email protected]</a>> <<a href="msg00345.html">[email protected]</a>></li>
- <li><em>subject</em>: [ale] c++, dynamic linking etc.</li>
> I don't use any options that have anything to do with dynamic linking
> (that I'm aware of). Examining my makefile, the link stage resolves to this:
>
> g++ -Wall -Wno-format -ggdb -march=pentium -o $(target) $(objs) -lz -ll
> -ltiff
Strange: that's pretty much what I was using. On the advice of someone on
another list, I'm now using gcc -lstdc++ and it works like I want it to
except that I get a bunch of warnings about type mismatches, and I hate
getting warnings.
> No, I'm building for internal use. Maybe your /etc/ld.so.conf is
> incorrect and the shared version of the library is not being found? I
It seems right, I don't think that's the problem.
> don't normally deal with this kind of stuff, but my sysadmin says to
> look up 'ldconfig' in the man pages.
I've looked that up to no avail, but thanks for the help!
>
> Bjorn Dittmer-Roche wrote:
>
> > My understanding, still incomplete though it is, is that for the c++ stuff
> >
> >dynamic linking is not the default since name mangling can get in the way.
> >Someone on another list suggested I compile using gcc instead of g++ and
> >explicitly tell it to use libstdc++. You seem to have solved my problem,
> >though: can you tell me what your compiler cammand line was for generating
> >that binary?
> >
> >Are you building non-GPL code for binaery distrobution as well?
> >
> >thanks for your help!
> >
> > bjorn
> >_______________________________________________
> >Ale mailing list
> >Ale at ale.org
> ><a rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale">http://www.ale.org/mailman/listinfo/ale</a>
> >
> >
> >
>
>
> --
>
> D. Alan Stewart
> Senior Software Developer
> Layton Graphics, Inc.
> 155 Woolco Drive
> Marietta, GA 30065
> Voice: 770/973-4312
> Fax: 800/367-8192
> <a rel="nofollow" href="http://www.layton-graphics.com">http://www.layton-graphics.com</a>
>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> <a rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale">http://www.ale.org/mailman/listinfo/ale</a>
>
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00379" href="msg00379.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-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00305" href="msg00305.html">[ale] c++, dynamic linking etc.</a></strong>
<ul><li><em>From:</em> bjorn at sccs.swarthmore.edu (Bjorn Dittmer-Roche)</li></ul></li>
<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>
<li><strong><a name="00338" href="msg00338.html">[ale] c++, dynamic linking etc.</a></strong>
<ul><li><em>From:</em> bjorn at sccs.swarthmore.edu (Bjorn Dittmer-Roche)</li></ul></li>
<li><strong><a name="00345" href="msg00345.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-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00370.html">[ale] SuSe and Scrollwheel</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00372.html">[ale] OT: bad news for digital video from Disney</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00345.html">[ale] c++, dynamic linking etc.</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00379.html">[ale] c++, dynamic linking etc.</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00371"><strong>Date</strong></a></li>
<li><a href="threads.html#00371"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>