delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/11/30/17:01:42

Message-Id: <199811302201.WAA14078@remus.clara.net>
From: "Arthur" <arfa AT clara DOT net>
To: <djgpp AT delorie DOT com>
Subject: RE: gcc and g++ problem
Date: Mon, 30 Nov 1998 22:00:39 -0000
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
In-Reply-To: <Pine.LNX.3.95.981130171132.25505B-100000@bbs.frc.utn.edu.ar>
Reply-To: djgpp AT delorie DOT com

> > > I have a problem with gcc not calling g++ when compiling C++
> > > code, even with a
> > > cpp extenstion. gcc seems to treat every file as a C-only file,
> > > giving me the
> > > usual errors that happen in that case.
> > >
> > > Is there something I've forgotten to set up? I've decompressed
> > > all the C++
> > > files from the ZIP picker, and I know I have the libraries and
> > > stuff, since
> > > g++ works when called explicitly.
> > >
> >
> > Use gxx instead of gcc or g++/gpp - it'll detect according to filename.
> >
> > James Arthur - jaa AT arfa DOT clara DOT net
> > http://www.arfa.clara.net/james/
> > ICQ#15054819
> >
> >
> Or try using .CC instead of .CPP

Would that make a difference?

James Arthur - jaa AT arfa DOT clara DOT net
http://www.arfa.clara.net/james/
ICQ#15054819


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019