Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: George Armhold <armhold@topside.rutgers.edu>
Subject: Re: Cross compiling kernel on Digital Unix
Date: 1999/03/25	[thread overview]
Message-ID: <dizww053825.fsf@topside.rutgers.edu> (raw)
In-Reply-To: 36f8f866.0@rainbow.hrz.uni-siegen.de

engel@math.uni-siegen.de writes:

> has anyone successfully set up a cross-compile environment to compile a 
> kernel for Linux-Alpha on Digital Unix ? My 166 Mhz UDB is so slow when 
> compiling kernels (for my TurboChannel Alpha porting efforts) ... the 
> dual-CPU 533 MHz 21164 machine here at University should be a bit faster - 
> but they won't let me install Linux on it ;-).
> 
> Btw., aboot-0.5-7 compiled from the RedHat SRPM runs on my 3000/300 - 
> but it fails when booting the kernel which may be related to the use of
> a SCSI floptical drive as boot device ...

I'm attempting the same thing, toward the same end (building a
3000/300 kernel.)  My host is a 3-processor Alpha 2100, Digital Unix
4.0D No luck so far.  My builds die with:

/hpcd/special1/armhold/linux/egcs-1.1.2/build/gcc/xgcc -B/hpcd/special1/armhold/linux/egcs-1.1.2/build/gcc/ -DCROSS_COMPILE -DIN_GCC    -g -O2 -I./include  -I. -I../../gcc -I../../gcc/config  -c ../../gcc/objc/hash.c -o objc/hash.o
In file included from ../../gcc/objc/hash.c:31:
../../gcc/objc/runtime.h:31: stdio.h: No such file or directory
../../gcc/objc/runtime.h:32: ctype.h: No such file or directory
In file included from ../../gcc/objc/runtime.h:38,
                 from ../../gcc/objc/hash.c:31:
include/objc/objc-api.h:33: stdio.h: No such file or directory
*** Exit 1
Stop.
*** Exit 1
Stop.

Have you looked at
http://www.in-berlin.de/User/kraxel/cross-compiler.html ?  This
documents a similar process, but for intel -> sparc.  I suspect this
would work for Digital Unix -> Linux on Alpha, if the proper libs &
includes could be arranged.  Not having a Linux-Alpha box around to
start with makes this hard.  If you have another Alpha-Linux box
around perhaps you can scarf the required files from there, and build
the cross-compiler.

Also, if you could make the aboot image available to me I would be
happy to try netbooting it on my 3000.  I finally figured out the
magic required in /etc/bootptab for this.


--
George Armhold                    PGP Key: [02D2EBE5]
Rutgers University            Fingerprint: [51 8B A4 B0 7A 71 7C E7]
Bioinformatics Initiative                  [85 DE 13 99 0B 68 5F 92]



      reply	other threads:[~1999-03-25  5:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-24  5:00 Cross compiling kernel on Digital Unix engel
1999-03-25  5:00 ` George Armhold [this message]
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