help-gplusplus
[Top][All Lists]
Advanced

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

Re: Is a gnu object file like an other compiler object file


From: Rolf Magnus
Subject: Re: Is a gnu object file like an other compiler object file
Date: Sat, 10 Dec 2005 03:00:51 +0100

Giulio Guarnone wrote:

> I've a static library (not open source) implementing a protocol. I don't
> know with what compiler was compiled, I know only that is the Linux
> version, so I try to link it with my program but I always fail.

Explain what you mean by "fail". What happens? How do you try?

> I've used the "ar xv <library>.a" to obtain *.o files and then I've
> create both a static and a dynamic library but the result library didn't
> work.

Waht do you mean by a "static library"? The .a file already is a static
library. And a dynamic one can only be created if the compiler was told to
generate position independant code.



reply via email to

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