www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/10/21/04:03:20

Date: Sun, 21 Oct 2001 09:57:43 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: "D. Taupin (wanadoo-lps)" <taupin AT lps DOT u-psud DOT fr>
cc: DJGPP List <djgpp AT delorie DOT com>, taupind AT wanadoo DOT fr
Subject: Re: Problem with p2c
In-Reply-To: <3BD190BD.82DA57FF@lps.u-psud.fr>
Message-ID: <Pine.SUN.3.91.1011021095715.20880E@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Sat, 20 Oct 2001, D. Taupin (wanadoo-lps) wrote:

> C:\tmp>p2c --help
> c:/djgpp/gnu/p2c-120/p2crc: No such file or directory (ENOENT)
> usage: p2c [options] file [modulename] [-h file.h] [-o file.c]
> 
> The reason is that my root directory for djgpp is NOT c:\djgpp, but
> c:\c   (for the sake of shortness in batch files and others). This make
> no problem with g77 and gcc which look at the DJGPP environment
> variable, but I'm afraid that in p2c this directory is hardly set to
> c:\djgpp.

Did you try the docs?  I don't use p2c (and don't have it installed),
but perhaps there's some environment variable you can set to tell p2c
where is it installed.  I'm guessing that c:\djgpp is some kind of
compiled-in default.  `p2crc' sounds like an init file, so perhaps
setting HOME would help.

- Raw text -


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