From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <199608022017.NAA03611@eve.speakeasy.org> Date: Fri, 2 Aug 1996 13:17:40 -0700 (PDT) From: Brett McCormick Subject: Re: compiling a kernel In-Reply-To: When I do a "make LANGUAGES=c", after configuring, compiling and installing binutils-2.7 (straight from prep) for target alpha-linuxecoff, i get: _muldi3 In file included from config/alpha/xm-linux.h:4, from tconfig.h:1, from ./libgcc2.c:33: config/alpha/xm-alpha.h:65: string.h: No such file or directory make: *** [libgcc2.a] Error 1 when I do a "make LANGUAGES=c CFLAGS+=-I/usr/local/src/kernel/linux/include/asm-alpha" or CFLAGS+=-Dinhibit_libc i get: _muldi3 _divdi3 /tmp/cca08989.s: Assembler messages: /tmp/cca08989.s:317: Error: macro requires $at register while noat in effect /tmp/cca08989.s:317: Error: macro requires $at register while noat in effect /tmp/cca08989.s:317: Error: macro requires $at while $at in use /tmp/cca08989.s:317: Error: macro requires $at register while noat in effect /tmp/cca08989.s:317: Error: macro requires $at while $at in use /tmp/cca08989.s:317: Error: macro requires $at register while noat in effect /tmp/cca08989.s:317: Error: macro requires $at while $at in use /tmp/cca08989.s:317: Error: macro requires $at register while noat in effect /tmp/cca08989.s:317: Error: macro requires $at while $at in use and so and and so on, for about 30000 lines! and at the end: xgcc: Internal compiler error: program as got fatal signal 11 thanks for all your help! --brett On Thu, 1 August 1996, at 22:03:10, Richard Henderson wrote: > > doesn't gcc need the heads & libs for making the cross compiler? > > No. It needs headers and libraries for the system the cross compiler > runs on, not for the system it generates code for. > > Of course, you'll need the later for cross-compiling applications, > but the Linux kernel (and I would guess most others) is self-contained. > > But as I noted earlier, the code quality resulting from cross-compiling > from a 32-bit system is poor, so you'd only want to do this while > developing a kernel for new, unsupported hardware. Once you are booted, > you can recompile the kernel and build your applications natively. > > > r~ > > -- > To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null > -- To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null