Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Richard Henderson <richard@atheist.tamu.edu>
Subject: Re: compiling a kernel
Date: Thu, 1 Aug 1996 18:34:47 -0500 (CDT)	[thread overview]
Message-ID: <m0um7GT-0001wMC@atheist.tamu.edu> (raw)
In-Reply-To: <199608012053.NAA10296@eve.speakeasy.org>

On Thu, 1 Aug 1996, Brett McCormick <brett@speakeasy.org> wrote:
>
> So what target should I configure for then, if any?
> And can I install the patched gcc to compile the kernel?

You should configure both binutils and gcc with "alpha-linuxecoff"
to get the standard ECOFF compiler.  If you want to do ELF you'll
need a completely different set of patches for gcc.  But if you're
just trying to cross-compile the kernel, ELF doesn't buy you anything.

In a separate message, he continues:
> 
> I've run into a few problems.. first off, where can I get the include
> files and libraries for linux alpha (include libgcc1.a, if i need it)

You don't need any headers or libraries for compiling the kernel.
As for libgcc1.a, just touch it before you start the gcc build.

> make LANGUAGES=c CFLAGS+=/usr/local/src/linux/kernel/include/asm-alpha
> 
> the output is:
> 
> _muldi3
> /tmp/cca21820.s: Assembler messages:
> /tmp/cca21820.s:1: Error: Expected comma after name "noreorder"
> /tmp/cca21820.s:2: Error: Expected comma after name "volatile"
> /tmp/cca21820.s:3: Error: Expected comma after name "noat"

Your new gcc isn't finding the Alpha assembler.  Either get that
properly installed first, or symbolicly link it into the gcc top-level
directory.

r~

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

  reply	other threads:[~1996-08-01 23:34 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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 [this message]
1996-08-02  2:49       ` Brett McCormick
1996-08-02  3:03         ` Richard Henderson
     [not found] <m0umAW7-0001x3C@atheist.tamu.edu>
1996-08-02 20:17 ` Brett McCormick
1996-08-02 20:45   ` Richard Henderson
1997-05-17 14:02 Compiling A Kernel Shawn Morris
  -- strict thread matches above, loose matches on Subject: below --
1997-05-17 14:05 Hein Roehrig
     [not found] <3.0.1.32.19970517090226.0094caa0@mail.midwest.net>
1997-05-17 14:19 ` Rick Windham
     [not found] <smorris@midwest.net>
1997-05-18 23:35 ` Bryan W. Headley
1997-11-26 19:04 Compiling a kernel Tack
     [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
1999-06-08 20:41 Kevin
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