Le Thu, Jun 19, 2008 at 11:52:37PM -0300, Nelson A. de Oliveira a écrit :
> Hi!
> 
> On Thu, Jun 19, 2008 at 11:40 PM, Charles Plessy <[EMAIL PROTECTED]> wrote:
> > Basically what I did was to disable the building of local zlib, include
> > the zlib.h from /usr/include instead of the local one, and add -lm and
> > -lz to CFLAGS from CDBS. Any idea what -lm and -lz mean?
> 
> You are linking against the math library (-lm) and zlib (-lz).

Aaah thank you Nelson, now I understand :) -lm and -lz are the same as
-l m and -l z; I thought that they were option names which size is two
characters :)

According to the gcc manual, "The linker searches a standard list of
directories for the library, which is actually a file named
liblibrary.a. The linker then uses this file as if it had been specified
precisely by name."

Am I not statically linking ?

Pardon my igorance...

-- 
Charles


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to