This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: compiling c++ using gcc


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é)


begin:          vcard
fn:             Thomas, Lionel SMETS
n:              SMETS;Thomas, Lionel
org:            Etablissements GONTHIER s.a.
email;internet: tsmets@altern.org
title:          Responsable de l'informatique
x-mozilla-cpt:  ;0
x-mozilla-html: FALSE
version:        2.1
end:            vcard


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]