From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rick Dearman To: help-gcc@gnu.org Subject: Re: compiling c++ using gcc Date: Fri, 31 Dec 1999 22:24:00 -0000 Message-ID: <386BE201.4A06354F@ricken.demon.co.uk> References: X-SW-Source: 1999-12n/msg00389.html Message-ID: <19991231222400.Jf5-mcleS8nSpSPKYGI5dOhUr9r9jHRhbEaVQqAVgwY@z> g++ filename -o output_filename where filename is your source code and output_filename is the name of the program you want. I think you should spend some time reading the manual. berty wrote: > > hi > > could someone please tell me the command which will enable me to compile a > program i have written in c++ using te gcc compiler. I assume it is > something along the lines of the -lm command which i believe includes the > maths library > > thanks in advance