wong@scapa.cs.UAlberta.CA (Brian Wong) (02/24/91)
>>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, The problem is I have a line: set TMP=D:\ in my autoexec.bat. Even moving the gcctmp line IN FRONT OF the TMP line does not help. I think gcc is looking at TMP, TEMP first before checking gcctmp. (A bug??) Thanks to all those who help. Brian