www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/02/04/06:15:09

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: "Thomas Mueller" <tmueller AT bluegrass DOT net>
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: <a3lpt7$19fef2$4@ID-49635.news.dfncis.de>
References: <9285851396b96165389d6c058d27cf95 DOT 62691 AT mygate DOT mailgate DOT org> <a3f9au$jpu$1 AT dragon DOT infopro DOT spb DOT su>
NNTP-Posting-Host: dial3-138.bluegrass.net (208.147.34.138)
Mime-Version: 1.0
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" <dmitryp AT peterlink DOT ru>:

> 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.


- Raw text -


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