[comp.binaries.ibm.pc.d] DOS gcc problem

wong@scapa.cs.UAlberta.CA (Brian Wong) (02/24/91)

Some days ago, I asked:

>1. I use 'gcc c.c' on my 386 with DOS 4.01 and the compiler
>   comes up with the error message:
>   d:\gcc\cpp: d:\/ccAA_AAA.cpp: access denied
>   What can I do to fix this?

Someone suggests I do not set up the env. vars correctly.
Now I am using:

set gcclib=d:/gcc/lib
set gcctmp=d:/gcc/tmp
set gccinc=d:/gcc/inc
set gccbin=d:/gcc/bin

in my autoexec.bat. And of course all the directories have been created,
install.bat has been run (after changing cp to copy) and path=d:\gcc\bin
has been set up.

And guess what? I am getting exactly the same error from gcc.

Someone says gcc works OK with DOS 3.3 but I can't try it.
My C and D drives are each > 32 M.
Has anyone run gcc successfully on DOS 4.01?
What can I do to fix this?

Thanks again!

Brian

kxb@math.ksu.edu (Karl Buck) (02/24/91)

wong@scapa.cs.UAlberta.CA (Brian Wong) writes:

>Some days ago, I asked:

>>1. I use 'gcc c.c' on my 386 with DOS 4.01 and the compiler
>>   comes up with the error message:
>>   d:\gcc\cpp: d:\/ccAA_AAA.cpp: access denied
>>   What can I do to fix this?

>Someone suggests I do not set up the env. vars correctly.
>Now I am using:

>set gcclib=d:/gcc/lib
>set gcctmp=d:/gcc/tmp
>set gccinc=d:/gcc/inc
>set gccbin=d:/gcc/bin

Try using double backslashes ie: "set gcclib=d:\\gcc\\lib". I had it running
at one time under dos 3.3 and I seem to remember using the escape character
to set the environment variables.  
--
 Karl Buck
 KSU Dept. of Mathematics               email: kxb@hilbert.math.ksu.edu 
 Manhattan, Kansas 66506                voice: (913)532-6750