Mail Archives: djgpp-workers/1999/04/06/15:13:30
>If this test is done before DJGPP is set, use the directory name to
>check the acessibility of DJGPP.ENV. If DJGPP.ENV doesn't yet exist
>(because you do this test before unzipping djdev), create it
>temporarily using the installation directory name chosen by the user
>and then test.
I think the next way would be OK (please tell me your suggestions): try to
create DJGPP directory as user told without any checks, until mkdir()
succeeds. If mkdir() does not succeed, that means: user tried to install
DJGPP to LFN directory in *plain* dos. His fault. In autoexec.bat:
path to djgpp.env would be got with DOS 7 LFN API "Get SFN name"
or something like it. I thinked of this way when looked to my "illegal"
DJGPP installation, which is in C:\Programming\DJGPP\ and in my
autoexec.bat is SET DJGPP=C:\PROGRA~2\DJGPP\djgpp.env
Or maybe it is complete non-sense?
Laurynas Biveinis
- Raw text -