From: Rossz Newsgroups: comp.os.msdos.djgpp Subject: Cross compiler problems Date: Thu, 21 Dec 2000 17:31:33 GMT Organization: Deja.com Lines: 25 Message-ID: <91tepm$et9$1@nnrp1.deja.com> NNTP-Posting-Host: 208.239.86.120 X-Article-Creation-Date: Thu Dec 21 17:31:33 2000 GMT X-Http-User-Agent: Mozilla/4.75 [en] (Win95; U) X-Http-Proxy: 1.0 x58.deja.com:80 (Squid/1.1.22) for client 208.239.86.120 X-MyDeja-Info: XMYDJUIDrossz To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com 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. Sent via Deja.com http://www.deja.com/