From: Brett McCormick <brett@speakeasy.org>
Subject: Re: compiling a kernel
Date: Fri, 2 Aug 1996 13:17:40 -0700 (PDT) [thread overview]
Message-ID: <199608022017.NAA03611@eve.speakeasy.org> (raw)
In-Reply-To: <m0umAW7-0001x3C@atheist.tamu.edu>
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
next parent reply other threads:[~1996-08-02 20:17 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <m0umAW7-0001x3C@atheist.tamu.edu>
1996-08-02 20:17 ` Brett McCormick [this message]
1996-08-02 20:45 ` compiling a kernel Richard Henderson
1999-06-08 20:41 Compiling " Kevin
[not found] <Pine.LNX.3.91.971126135439.30999B-100000@eagle.auc.laurentian.ca>
1997-11-27 11:16 ` Roman Martonak
1997-11-27 14:43 ` Niklas Anderzon
-- strict thread matches above, loose matches on Subject: below --
1997-11-26 19:04 Tack
[not found] <smorris@midwest.net>
1997-05-18 23:35 ` Compiling A Kernel Bryan W. Headley
[not found] <3.0.1.32.19970517090226.0094caa0@mail.midwest.net>
1997-05-17 14:19 ` Rick Windham
1997-05-17 14:05 Hein Roehrig
1997-05-17 14:02 Shawn Morris
[not found] <199607312252.PAA27194@eve.speakeasy.org>
1996-08-01 15:39 ` compiling a kernel Richard Henderson
1996-08-01 19:17 ` Brett McCormick
1996-08-01 20:53 ` Brett McCormick
1996-08-01 23:34 ` Richard Henderson
1996-08-02 2:49 ` Brett McCormick
1996-08-02 3:03 ` Richard Henderson
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox