From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,a3bf3181505c9ba8 X-Google-Attributes: gid111c93,public From: mott@mathworks.com (Peter Mott) Subject: Completed - Re: I want to build my own kernel... Date: 1998/11/24 Message-ID: #1/1 X-Deja-AN: 415190743 References: <365804B0.833D6D7D@mathworks.com> <36596bf90000001d@ctnhnews.timken.com-MINC> Organization: The MathWorks, Inc. Newsgroups: comp.os.linux.alpha Simply stated, downloading from http://ftp.digital.com/pub/DEC/Linux- Alpha/Kernels/alpha-sources-2.0.35-0.2.tar.gz I was able to completely build my first kernel with no modifications to the environment, except for make config options. Did I learn the answers to my own questions? Not completely, I'll answer what I can. > > -- I can download from gatekeeper, but how do I find the Alpha Linux > kernel sources that I want to download? > http://ftp.digital.com/pub/DEC/Linux-Alpha/Kernels/alpha-sources-2.0.35- 0.2.tar.gz > > -- Once downloading a source collection and a patch collection, do they > need to be combined? How are they combined? In your document your make > reference to pre-patched kernels from gatekeeper. Does this mean that I > only need the first of the two files below? > > alpha-sources-2.0.35-0.2.tar.gz > alpha-patches-2.0.35-0.2.gz > There is no need to apply the patches before building. I am still curious what delta alpha-patches-2.0.35-0.2.gz represents. I presume its the delta from alpha-sources-2.0.35-0.1.tar.gz to alpha-sources-2.0.35- 0.2.tar.gz > > How to combine these may become obvious once I have examined the files, > but after installing the debian packages for the 2.0.35 kernel sources > and alpha patches, there was no indication of how to put the two pieces > together. > It didn't become obvious, but I now know the answer is 'use the patch(1) command'. > > -- "compile out of the box" conveys nonspecific expectations. > I may have some constructive comments after trying the above files. There > are a number of steps required to get the right collection of sources out > of the box and configured before compiling successfully. > In the case of the above mentioned download: 'gzip -d -c | tar xf -' gets it out of the box. Then it certainly did build! Yeah! For '.deb' files I presume 'dpkg -I' gets it out of the box. For RPMS I still don't know what I would do if I weren't in the RedHat environment.