Mail Archives: djgpp/2001/10/21/04:03:20
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 -