Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!van-bc!ubc-cs!alberta!news From: wong@scapa.cs.UAlberta.CA (Brian Wong) Newsgroups: comp.binaries.ibm.pc.d Subject: gcc problem fixed, thanks Message-ID: <1991Feb24.020904.20962@cs.UAlberta.CA> Date: 24 Feb 91 02:09:04 GMT Sender: news@cs.UAlberta.CA Organization: University of Alberta, Edmonton, Canada Lines: 25 >>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