Date: Sat, 13 May 2000 21:25:32 +0200 (WET) From: Andris Pavenis To: Alan Rogers cc: djgpp AT delorie DOT com Subject: Re: problem building cross compiler In-Reply-To: <391D8845.256D677E@anthro.utah.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=windows-1257 Content-Transfer-Encoding: 8BIT 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 On Sat, 13 May 2000, Alan Rogers wrote: > On Sat, 19 Feb 2000 12:26:59 -0800 "Rossz Vámos-Wentworth" > wrote: > > > I'm attempting to build a cross compiler using DJGPP tools. This is a win95 > > system. I have successfull built and installed cross versions of binutils. > > Am I leaving out a configuration option? Here's the relevent information: > > > > Running this: > > ./configure --prefix=/djgpp/h8300-hms --program-prefix=h8300-hms- --host=i38 > > 6-pc-msdosdjgpp --target=h8300-hms > > make > > > > Results in this error > > _muldi3 > > In file included from ./libgcc2.c:41: > > f:/djgpp/include/stdlib.h:83: warning: conflicting types for built-in > > function ` > > __builtin_alloca' > > In file included from ./libgcc2.c:48: > > include/stddef.h:170: conflicting types for `size_t' > > f:/djgpp/include/stdlib.h:36: previous declaration of `size_t' > > include/stddef.h:255: warning: redefinition of `wchar_t' > > f:/djgpp/include/stdlib.h:39: warning: `wchar_t' previously declared here > > xgcc.exe: Internal compiler error: program cc1 got fatal signal 33 > > make.exe[2]: *** [libgcc2.a] Error 1 > > make.exe[2]: Leaving directory `f:/djgpp/gnu/gcc-2.95.2/gcc' > > make.exe[1]: *** [stmp-multilib-sub] Error 2 > > make.exe[1]: Leaving directory `f:/djgpp/gnu/gcc-2.95.2/gcc' > > make.exe: *** [stmp-multilib] Error 1 > > I am trying to build a linux->msdos cross compiler under SuSe Linux 6.4 > using the instructions published at > http://www.delorie.com/howto/djgpp/linux-x-djgpp.html. > I get essentially the same error message: > > ./xgcc -B./ -DCROSS_COMPILE -DIN_GCC -g -I./include -I. > -I../gcc-2.8.1 -I../gcc-2.8.1/config \ > -c ../gcc-2.8.1/objc/archive.c -o objc/archive.o > In file included from ../gcc-2.8.1/objc/runtime.h:31, > from ../gcc-2.8.1/objc/archive.c:28: > include/stdio.h:38: warning: redefinition of `va_list' > include/stdarg.h:181: warning: `va_list' previously declared here > In file included from ../gcc-2.8.1/objc/runtime.h:34, > from ../gcc-2.8.1/objc/archive.c:28: > include/stddef.h:168: warning: redefinition of `size_t' > include/stdio.h:41: warning: `size_t' previously declared here > In file included from ../gcc-2.8.1/objc/archive.c:33: > include/stdlib.h:40: conflicting types for `wchar_t' > include/stddef.h:243: previous declaration of `wchar_t' > make: *** [objc/archive.o] Error 1 > > I am trying to build the cross compiler from: > djcrx203 > binutils-2.9.1 > gcc-2.8.1 > You may try to get Linux to DJGPP cross-compiler binaries (my build) from ftp://hal.astr.lu.lv/pub/djgpp/gcc-2.95.2/ However You're need glibc-2.1 or better to use these binariesout of look ------------------- Recommended time is from 20:00 to 07:00 GMT (perhaps acceptable for USA) or connection speed may be very slow and also I may think to do any weird things on that system (like rebooting often) It's slightly newer update of DJGPP port of gcc-2.95.2 than one in simtelnet. About DJGPP hosted cross-compilers: perhaps it's more easy to build them on Linux or similar systems, but I havent tested that. Andris