www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/25/11:28:22

Date: Tue, 25 Mar 1997 19:06:49 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Surrey Web Public Access Point <go68 AT dial DOT pipex DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Compiler problems
In-Reply-To: <3336C4AC.402A@dial.pipex.com>
Message-ID: <Pine.SUN.3.91.970325190322.4829A-100000@is>
MIME-Version: 1.0

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 -


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