Sender: rogers AT csbs DOT utah DOT edu Message-ID: <391D8845.256D677E@anthro.utah.edu> Date: Sat, 13 May 2000 10:52:21 -0600 From: Alan Rogers Organization: University of Utah X-Mailer: Mozilla 4.72 [en] (X11; I; Linux 2.2.14 i686) X-Accept-Language: en MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: problem building cross compiler Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id MAA07125 Reply-To: djgpp AT delorie DOT com 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 Any suggestions? Thanks Alan Rogers