help-hurd
[Top][All Lists]
Advanced

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

Re: extra flags for linker on GNU


From: Niels Möller
Subject: Re: extra flags for linker on GNU
Date: 22 Apr 2003 16:08:52 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Robert Millan <zeratul2@wanadoo.es> writes:

> so, for example, supose we have library "libfoo" and program "bar".
> libfoo is written in C++ and depends on libstdc++, but bar is
> pure C and doesn't need libstdc++ directly.

I'm not sure what debian policy says (and I'm not aware of all shared
library magic either). But I'd recommend using an explicit -lstdc++,
as that's necessary if libfoo happens to be a static library, and I
generally want makefiles to work the same way on machines and
platforms that for some reason use static libraries.

Regards,
/Niels




reply via email to

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