---------- Forwarded message ----------
From: abdelkader belahcene <[email protected]>
Date: Wed, Sep 29, 2010 at 23:16
Subject: how to configure gcc
To: [email protected]


hi,
by default  I have to add option  -lm  to the command gcc  -lm  file.c
when I use  math functions.  Where can I configure gcc to add it to the
default gcc,  after what I don't need  the option -lm ,  just gcc file.c
thanks for help



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact
[email protected]
Archive: http://lists.debian.org/[email protected]


In fact all -l<library name> is getting passed to the linker ld.
The best way to avoid that is to write a makefile to use that.

Reply via email to