X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: "Thomas Mueller" Newsgroups: comp.os.msdos.djgpp Subject: Re: Problem after updating my version of DJGPP Date: 4 Feb 2002 11:05:11 GMT Lines: 20 Message-ID: References: <9285851396b96165389d6c058d27cf95 DOT 62691 AT mygate DOT mailgate DOT org> NNTP-Posting-Host: dial3-138.bluegrass.net (208.147.34.138) Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: fu-berlin.de 1012820711 43497954 208.147.34.138 (16 [49635]) X-Mailer: NOS-BOX 2.05 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com from "Dmitry Pavlov" : > Maybe RHIDE calls gcc to compile your C programs as C++ programs. Note that file extension case is meaningful for gcc. "prog.c" is recognized by gcc as C source but "prog.C" is recognized as C++ source. In the new version of gcc, you should use the -lstdcxx option when linking source as C++, even if it is really C source. So rename *.C to *.c and probably all will be OK. > (sorry for my English) > Dmitry Under DOS, how does gcc see the difference between prog.c and prog.C ? Does RHIDE keep whatever case the user types in? Or does gcc get the case from the command line? DOS is not case-sensitive with file names and commands, all letters are converted to upper case.