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: Thomas Lionel SMETS <tsmets at altern dot org>
- Date: Mon, 03 Jan 2000 01:04:51 GMT
- Newsgroups: gnu.gcc.help
- Organization: Chello Usenet Service
- References: <axva4.8987$vi5.234949@nnrp3.clara.net> <386BE201.4A06354F@ricken.demon.co.uk>
- Xref: wodc7nx0 gnu.gcc.help:2335
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