From: "Phil Boucherat" Newsgroups: comp.os.msdos.djgpp Subject: Re: Cross compiler problems Date: Thu, 21 Dec 2000 22:31:39 -0000 Organization: BT Internet Lines: 52 Message-ID: <91u0hs$kjp$1@uranium.btinternet.com> References: <91tepm$et9$1 AT nnrp1 DOT deja DOT com> NNTP-Posting-Host: host213-1-158-204.btinternet.com X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi, I sorry but I can't help you with this problem. However I am interested to know how you built your gcc cross compiler with djgpp - how did you configure it? I have just built a 68K cross compiler - or at least I think I have, because I came across so many problems running the makefile - in fact I adapted the build_cross.sh script in c:\djgpp\gnu\gcc-2.952\build.cross - I changed the target name, reduce LANGUAGES to "c c++" split it up into three sections for config, build and install (to get round problem with Win95 DPMI selectors running out). The config seems to go OK, but the build eventually comes up with an error saying something like "the compiler cannot create executables" (which sort of makes sense as they are 68K binaries and won't run on my Intel machine), and then the install doesn't work, although the build does seem to have created the desired executables. I'm sure my problem is something to do with the initial configuration. Can you tell me what options + environment variables you set for "make config", "make all" and "make install"? Maybe this will provide a clue for my own problems. Cheers, Phil Rossz wrote in message news:91tepm$et9$1 AT nnrp1 DOT deja 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/