delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/05/19/07:00:20.1

From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: RHIDE & disappearing source file
Date: 19 May 2003 10:43:03 GMT
Organization: Aachen University of Technology (RWTH)
Lines: 69
Message-ID: <baacfn$osa$1@nets3.rz.RWTH-Aachen.DE>
References: <3ec71fe6 AT news DOT comindico DOT com DOT au>
NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de
X-Trace: nets3.rz.RWTH-Aachen.DE 1053340983 25482 137.226.32.75 (19 May 2003 10:43:03 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 19 May 2003 10:43:03 GMT
Originator: broeker@
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

John Mills <johnmi AT cyberone DOT com DOT au> wrote:
> RHIDE 1.49 (from rhid149b.zip) Sep3 2001

A little old, you may want to update.

> djgpp 3.0.4

No.  There is no such version of DJGPP itself.  It should be 2.03
(patchlevel 2, as reported in manifest\djdev203.ver), or 2.04 alpha 1.
Find out which one you really have.

> gcc 3.0.4

Old-ish.  You may want to update.

> Win98 1st edition

> Twice in the last couple of weeks, but never before, one (only one) of my
> source files has just disappeared between compiles. The error message is:
> "Could not find the source file 'myfile.c'. Make sure,  that the file exist
> or check the settings in 'Options/Directories for the correct paths."

Did it bodily disapper?  I.e. if you search for the actual file
outside RHIDE, is it still there?  Or is RHIDE just no longer seeing
it?  What did you have to do to restore it?

> Compiler options are set to -Wall -save-temps -gstabs+

I would advise strongly against -save-temps for general-purpose
operation.  It creates rather massive files that aren't good for
anything besides debugging the compiler and binutils.  Which I rather
much doubt is what you're trying to do, is it?

> Can it be a file-caching problem?

If the file reappeared just by, e.g., re-starting RHIDE, it might be.

> Oh, I recently installed minGW 3.2. It seems to have disrupted my djgpp
> includes, though I removed mingw paths from PATH envir variable.

Cleaning PATH alone isn't necessarily enough.  Check all your
environment:

	set | find /i "ming"

in the shell you would be running DJGPP from.  If you get any
variables listed which don't have MINGW in their *name*, but only in
their values, that may well be a sign of trouble.

You'll need separate compilation environments if you want to use DJGPP
and MinGW on the same machine.  A pair of desktop shortcuts to
command.com using 'setdjgpp.bat', and a similar 'setmingw.bat', as a
startup file are usually a good way.  For good measure, give them
keyboard shortcuts, too, like Alt-Shift-D for DJGPP, Alt-Shift-M for
MinGW.

*Don't* set up anything in autoexec.bat, in such a multiple-compiler
case.  It'll only cause trouble.  To name just one, it's quite a lot
harder to remove a single entry from the %PATH% than expanding it by
one.  So you had better not put anything in there that you may not
want in all possible situations.

> Is it possible the MinGW install interfered with my RHIDE installation
> (which has been working fine for over a year)?

It's well possible.  You'll have to check.
-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


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