Mail Archives: djgpp/1997/03/25/11:28:22
On Mon, 24 Mar 1997, Surrey Web Public Access Point wrote:
> When trying to compile simple "hello world" programs, GCC tells me I need
> CC1PLUS.EXE.Why?
Did you type the name of your source file in UPPER CASE like so:
GCC HELLO.C
If so, then you should know that GCC is NOT case-insensitive to filenames,
and it treats .C (as opposed to .c) as a C++ extension. C++ programs need
a C++ compiler cc1plus.exe. Section 8.4 of the DJGPP FAQ list (available
as v2/faq210b.zip from the same place you get DJGPP) explains this in more
detail; please read it.
- Raw text -