Mail Archives: djgpp/1998/11/30/15:15:38
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 -