From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id DF6C430A86 for ; Fri, 20 Oct 2000 11:24:50 -0400 (EDT) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id e9KFOor11742 for axp-list@listman.redhat.com; Fri, 20 Oct 2000 11:24:50 -0400 Received: from ellpspace.math.ualberta.ca (IDENT:michal@ellpspace.math.ualberta.ca [129.128.88.19]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id e9KFOnD11734 for ; Fri, 20 Oct 2000 11:24:49 -0400 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.9.3/8.9.3) id JAA23813 for axp-list@redhat.com; Fri, 20 Oct 2000 09:24:46 -0600 Date: Fri, 20 Oct 2000 09:24:46 -0600 From: Michal Jaegermann To: axp-list@redhat.com Subject: Re: help on compiling kernel Message-ID: <20001020092446.A23774@ellpspace.math.ualberta.ca> References: <200010191743.LAA22631@ellpspace.math.ualberta.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4us In-Reply-To: ; from James Fowler on Thu, Oct 19, 2000 at 01:47:15PM -0600 X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0beta4 Precedence: bulk Reply-To: axp-list@redhat.com List-Id: Linux and Red Hat on Alpha processors On Thu, Oct 19, 2000 at 01:47:15PM -0600, James Fowler wrote: > I had never thought to try make boot on anything else. Does it still > return a .gz kernel file? Thanks for the info. > James > > On Thu, 19 Oct 2000, Michal Jaegermann wrote: > > > James Fowler wrote: > > > > > > If not - the command for Alphas is 'make > > > boot' no clue as to why it is different. > > > > It is not. :-) Try 'make boot' on x86 or any other platform. 'make boot' is a target which runs a default target from arch/${arch}/boot/Makefile and what precisely it does depends on what was put in all these makefiles; but a convention is that this will produce a compressed kernel for the current architecture. If this happens to be "i386" then 'make boot' is exactly equivalent to 'make zImage' (see for yourself in kernel sources). OTOH nowadays many configurations for x86 actually require 'make bzImage' for a bootable kernel so an advice printed on your screen by scripts/configure is not really correct there either. :-) In the past I submitted twice or three times patches which would make this compilation advice on your screen more "generic", or which would at least make this "run 'make zImage'" to show up only on x86 and "run 'make boot'" otherwise. They are pretty trivial. Somehow I was never able to push that through and gave up after a while. You see here a prevalence of "hysterical raisins" in action. :-) Michal