delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/01/29/11:30:47

Date: Mon, 29 Jan 1996 18:05:46 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: jjk AT lbvrtda DOT logica DOT com
Cc: djgpp AT delorie DOT com
Subject: Re: Reading INFO files

On Mon, 29 Jan 1996 jjk AT lbvrtda DOT logica DOT com wrote:

> I get an error:
> 	info.exe: dir: No such file or directory (ENOENT)
> I've set INFOPATH to C:\DJGPP\INFO and all variants (lowercase, forward 
> slashes) but I still get the same error. Any ideas?

Go to the directory where the info files are kept and check to see there 
is a file there called `dir'.  If there is such a file, try this (from 
that directory):

	info -d . -f dir

If this works, then you somehow didn't set INFOPATH correctly (maybe 
there was a space between `INFOPATH' and the equals sign when you set 
it?).  The best way to set it is to not do it from the DOS command line, 
but rather set the variable DJGPP thusly:

	set DJGPP=c:/djgpp/djgpp.env

(and make sure there is a file named `djgpp.env' in that directory).  
This file has a section [info] which should define INFOPATH in a correct 
manner, so you don't have to do it unless your installation uses some 
non-standard directory structure.

> Also, is it possible to strip and/or compress the executables? Strip can't 
> strip itself, as it only recognizes files in BDF format (which itself isn't). 
> The same goes for NM and OBJDUMP: it can only recognize BDF format files. Do I 
> need to recompile the lot of them?

You don't need to recompile, just to produce the COFF executable from the
stubbed one.  Use the program `exe2coff' for this.  Once you have a COFF
executable (without the `.exe' suffix), run `strip' on it, then run
`stubify' to make a DOS executable again.  But the programs distributed
with DJGPP should already be stripped, so you don't have to bother. 

Currently, you can't compress the DJGPP executables.

- Raw text -


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