Date: Sun, 21 Oct 2001 09:57:43 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: "D. Taupin (wanadoo-lps)" cc: DJGPP List , taupind AT wanadoo DOT fr Subject: Re: Problem with p2c In-Reply-To: <3BD190BD.82DA57FF@lps.u-psud.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk 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.