www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/09/04/05:04:18

Xref: news2.mv.net comp.os.msdos.djgpp:8247
From: Robert Hoehne <Robert DOT Hoehne AT Mathematik DOT tu-chemnitz DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: RHIDE without g++ ?
Date: Wed, 04 Sep 1996 10:21:52 +0200
Organization: TU Chemnitz-Zwickau
Lines: 32
Message-ID: <322D3C20.5690@Mathematik.tu-chemnitz.de>
References: <322D3129 DOT 1192 AT mbox DOT vol DOT it>
NNTP-Posting-Host: tantalus-e.hrz.tu-chemnitz.de
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Vincenzo Morello wrote:
> 
> Is it possible to compile C programs within a RHIDE project
> without C++ installed ?
> I get the error message:
> gcc.exe: installation problem, cannot exec 'cc1plus': No such file...
> 

This sounds for me like trouble with LFN when running in Windows 95
(I'm correct?). You have long filenames enabled (LFN=y) and you use
normal c-files with the suffix .C. In this case you must remember, that
gcc (and RHIDE) is case sensetive. That means a file with suffix .C
(NOTE the upper case C) is treated as a C++ source file and so gcc will
try to run cc1plus.

There are two ways to solve your problem.
1) Disable LFN support (set LFN=n in your autoexec.bat). If you have done
   this, all filenames are converted to lower case by RHIDE and you get,
   what you expect.

2) If you realy want to use long filenames you have to rename your files
   with an uppercase C as suffix to files with lowercase c.
   (LFN does not mean only long filenames, but also case sensetive names)

Robert
-- 
*****************************************************************
* Robert Hoehne, Fakultaet fuer Mathematik, TU-Chemnitz-Zwickau *
* Post:    Am Berg 3, D-09573 Dittmannsdorf                     *
* e-Mail:  Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE              *
* WWW:     http://www.tu-chemnitz.de/~rho                       *
*****************************************************************

- Raw text -


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