www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/02/16/11:45:46

To: haridas AT math DOT ethz DOT ch
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Date: Thu, 16 Feb 95 18:04:44 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>

> D:\SRC\CAPPER\FIVE>cc1plus cube.cc
> cube.cc:1: parse error before `/'
> cube.cc:3: undefined or invalid # directive

IMHO, cc1plus isn't designed to be run directly.  You
should instead call it thusly:

	gcc -c cube.cc

Gcc.exe takes care of calling the preprocessor (cpp.exe)
before cc1plus, so that all the comments and preprocessor
directives like #define and #include are stripped.  It also
calls these programs with appropriate switches about which
you don't want to know.

- Raw text -


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