Alias definition [Was: Re: how to configure gcc]

2010-09-30 Thread Liam O'Toole
On 2010-09-29, David Jardine da...@jardine.de wrote: On Wed, Sep 29, 2010 at 06:46:20PM +0100, abdelkader belahcene wrote: 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

Re: Alias definition [Was: Re: how to configure gcc]

2010-09-30 Thread David Jardine
On Thu, Sep 30, 2010 at 08:41:46AM +, Liam O'Toole wrote: On 2010-09-29, David Jardine da...@jardine.de wrote: [...] You could add alias gcc='gcc -lm ' (note the last space) What's the significance of the last space? This, as far as I remember, allows the user to continue the

Re: how to configure gcc

2010-09-30 Thread Karl Vogel
On Thu, 30 Sep 2010 09:20:36 +0530, Anand Sivaram aspn...@gmail.com said: AS On Thu, Sep 30, 2010 at 09:12, Boyd Stephen Smith Jr. wrote: B On Wednesday 29 September 2010 15:18:46 abdelkader belahcene wrote: A yes but normally gcc should be configured, where is the config file,

how to configure gcc

2010-09-29 Thread abdelkader belahcene
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

Fwd: how to configure gcc

2010-09-29 Thread Anand Sivaram
-- Forwarded message -- From: abdelkader belahcene abelahc...@gmail.com Date: Wed, Sep 29, 2010 at 23:16 Subject: how to configure gcc To: debian-user@lists.debian.org hi, by default I have to add option -lm to the command gcc -lm file.c when I use math functions. Where

Re: how to configure gcc

2010-09-29 Thread Mark Allums
On 9/29/2010 12:46 PM, abdelkader belahcene wrote: 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 You

Re: how to configure gcc

2010-09-29 Thread David Jardine
On Wed, Sep 29, 2010 at 06:46:20PM +0100, abdelkader belahcene wrote: 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

Re: how to configure gcc

2010-09-29 Thread Joseph Lenox
It's called a makefile. http://www.cs.utah.edu/dept/old/texinfo/make/make_toc.html On 9/29/2010 12:46 PM, abdelkader belahcene wrote: 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,

Re: how to configure gcc

2010-09-29 Thread Mark Allums
On 9/29/2010 2:31 PM, David Jardine wrote: On Wed, Sep 29, 2010 at 06:46:20PM +0100, abdelkader belahcene wrote: 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

Re: Re: how to configure gcc

2010-09-29 Thread abdelkader belahcene
Thanks for answer yes but normally gcc should be configured, where is the config file, for example sshd_config is a config file for ssh, vsftpd.conf for ftp server and so on .., so where is the config file for gcc, just this I couldn't find it. thanks a lot regards -- To UNSUBSCRIBE,

RE: how to configure gcc

2010-09-29 Thread owens
Original Message From: abelahc...@gmail.com To: debian-user@lists.debian.org Subject: RE: how to configure gcc Date: Wed, 29 Sep 2010 18:46:20 +0100 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

Re: how to configure gcc

2010-09-29 Thread Boyd Stephen Smith Jr.
On Wednesday 29 September 2010 15:18:46 abdelkader belahcene wrote: Thanks for answer yes but normally gcc should be configured, where is the config file, for example sshd_config is a config file for ssh, vsftpd.conf for ftp server and so on .., so where is the config file for gcc, just

Re: how to configure gcc

2010-09-29 Thread Anand Sivaram
On Thu, Sep 30, 2010 at 09:12, Boyd Stephen Smith Jr. b...@iguanasuicide.net wrote: On Wednesday 29 September 2010 15:18:46 abdelkader belahcene wrote: Thanks for answer yes but normally gcc should be configured, where is the config file, for example sshd_config is a config file for

how to configure gcc to compile with i386 arch type by default...or is it already

2002-10-10 Thread Walter Tautz
even if I'm on a pentium machineI would like to do this in a config file not on the command line. Actually looking iat gcc -v Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs gcc version 2.95.4 20011002 (Debian prerelease) and having a look at the file suggest it DOES compile by

Re: how to configure gcc to compile with i386 arch type by default...or is it already

2002-10-10 Thread Sean 'Shaleh' Perry
On Thursday 10 October 2002 11:26, Walter Tautz wrote: even if I'm on a pentium machineI would like to do this in a config file not on the command line. Actually looking iat gcc -v Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs gcc version 2.95.4 20011002 (Debian prerelease)