compiling c++ using gcc
Rick Dearman
rick@ricken.demon.co.uk
Thu Dec 30 15:00:00 GMT 1999
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
More information about the Gcc-help
mailing list