FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

LinkBack Thread Tools
Old 09-29-2010, 06:12 PM
Anand Sivaram
Default Fwd: how to configure gcc

---------- Forwarded message ----------
From: abdelkader belahcene <abelahcene@gmail.com>

Date: Wed, Sep 29, 2010 at 23:16
Subject: how to configure gcc
To: debian-user@lists.debian.org


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 debian-user-REQUEST@lists.debian.org

with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Archive: http://lists.debian.org/1285782380.1853.26.camel@belaHome.bela.home

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.

Thread Tools

All times are GMT. The time now is 04:20 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org