From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,f4810fc0620a4973 X-Google-Attributes: gid111c93,public From: George Armhold Subject: Re: Cross compiling kernel on Digital Unix Date: 1999/03/25 Message-ID: #1/1 X-Deja-AN: 458981062 References: <36f8f866.0@rainbow.hrz.uni-siegen.de> Organization: Rutgers University LCSR Newsgroups: comp.os.linux.alpha 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]