help-gplusplus
[Top][All Lists]
Advanced

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

Re: Undefined symbol when loading g++ created library


From: Adam Nielsen
Subject: Re: Undefined symbol when loading g++ created library
Date: Mon, 28 Nov 2005 13:26:03 +1000

> What Robert meant to tell you is that the librarian may not take
> RootClass.o "fook" from the libmumble.a "shelf" at all (if none of the
> RootClass.o code is referenced by any of your other objects).

Oh ok, I was thinking at a lower level - if nothing references the
RootClass constructor, then the linker will omit that function whether
the code for it comes from inside a library or an object file.

Cheers,
Adam.


reply via email to

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