This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: compiling c++ using gcc
- To: help-gcc at gnu dot org
- Subject: Re: compiling c++ using gcc
- From: Rick Dearman <rick at ricken dot demon dot co dot uk>
- Date: Thu, 30 Dec 1999 22:51:45 +0000
- Newsgroups: gnu.gcc.help
- References: <axva4.8987$vi5.234949@nnrp3.clara.net>
- Xref: wodc7nx0 gnu.gcc.help:2319
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