From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Lionel SMETS To: help-gcc@gnu.org Subject: Re: compiling c++ using gcc Date: Sat, 01 Apr 2000 00:00:00 -0000 Message-ID: <386FF399.498882E0@altern.org> References: <386BE201.4A06354F@ricken.demon.co.uk> X-SW-Source: 2000-q1/msg00014.html Message-ID: <20000401000000.VI6I-sFe3b8Q7qd9iVrajGyXwHc6Gv7rSJrlcKp6kzY@z> Rick Dearman wrote: > g++ filename -o output_filename > Right on Linux boxes The GCC compiler on the GNU tools for DOS accepts only GCC. The difference is made upon the file extension ! > > 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 -- ====================================== 150 ANS et on sèmera encore ! ===================================== Thomas SMETS Ets GONTHIER s.a. - n.v. rue de Leumont 1A 4520 Wanze (HUY) Belgique Tel : +32 (0)85 24.15.10. central +32 (0)85 24.15.04. direct Fax : +32 (0)85 23.61.64. mail : thomas.smets@gonthier-be.com (professionnel) tsmets@altern.org (privé)