Date: Fri, 22 Dec 2000 11:28:10 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: Rossz Message-Id: <2110-Fri22Dec2000112810+0200-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6 CC: djgpp AT delorie DOT com In-reply-to: <91tepm$et9$1@nnrp1.deja.com> (message from Rossz on Thu, 21 Dec 2000 17:31:33 GMT) Subject: Re: Cross compiler problems References: <91tepm$et9$1 AT nnrp1 DOT deja DOT com> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: Rossz > Newsgroups: comp.os.msdos.djgpp > Date: Thu, 21 Dec 2000 17:31:33 GMT > > I have installed the various DJGPP tools and a cross compiler (for > Hitachi h8/300). Everything works perfectly as long as my project > directory is on the same drive as the DJGPP directory (drive d:). When > I placed my project on drive e:, I get the following error: > > h8300-hms-gcc -O2 -fno-builtin -fomit-frame-pointer -Wall > -Ie:/legOS/include -Ie:/legOS/include/lnp -I. -c memcpy.c -o memcpy.o > *Initialization*:1: warning: `__SIZE_TYPE__' redefined > *Initialization*:1: warning: `__PTRDIFF_TYPE__' redefined > h8300-hms-gcc.exe: installation problem, cannot exec `cc1': No such file > or directory (ENOENT) > make.exe: *** [memcpy.o] Error 1 > > I've tried adding this to my makefile: > > GCC_EXEC_PREFIX = e:/djgpp/cross/lib/gcc-lib/ > > But it didn't fix anything - I get the same exact error. If I copy the > entire project directory to the D: drive, everything compilers > perfectly. Try using the /dev/e/foo style of file names rather than the e:/foo style. This sounds like a problem with some shell script which thinks a file name always begins with a slash.