delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/11/30/15:15:38

Date: Mon, 30 Nov 1998 17:11:55 -0300 (ARST)
From: RODRIGO MATIAS CABRERA MADRID <icaro AT bbs DOT frc DOT utn DOT edu DOT ar>
To: djgpp AT delorie DOT com
Subject: RE: gcc and g++ problem
In-Reply-To: <199811301933.TAA05310@remus.clara.net>
Message-ID: <Pine.LNX.3.95.981130171132.25505B-100000@bbs.frc.utn.edu.ar>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Mon, 30 Nov 1998, Arthur wrote:

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

**************************
Rodrigo M. Cabrera
<icaro AT bbs DOT frc DOT utn DOT edu DOT ar>
<rmcabrera AT most-wanted DOT com>
Cordoba, Argentina
**************************
"...Y Decretase que nada estara obligado ni prohibido
Todo sera permitido.
Inclusive jugar con los rinocerontes,
Y caminar por las tardes
Con una inmensa begonia en la solapa..."

Thiago de Melo


- Raw text -


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