[ale] c++, dynamic linking etc.
Alan Stewart
astewart at layton-graphics.com
Tue Feb 10 13:05:07 EST 2004
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
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
don't normally deal with this kind of stuff, but my sysadmin says to
look up 'ldconfig' in the man pages.
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
>http://www.ale.org/mailman/listinfo/ale
>
>
>
--
D. Alan Stewart
Senior Software Developer
Layton Graphics, Inc.
155 Woolco Drive
Marietta, GA 30065
Voice: 770/973-4312
Fax: 800/367-8192
http://www.layton-graphics.com
More information about the Ale
mailing list