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 075702F182 for ; Mon, 7 Aug 2000 10:28:12 -0400 (EDT) Received: (from mail@localhost) by mail.redhat.com (8.8.7/8.8.7) id KAA32259 for axp-list@listman.redhat.com; Mon, 7 Aug 2000 10:28:11 -0400 Received: from guardian.aart.ch (root@guardian.aart.ch [195.65.67.94]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id KAA32247 for ; Mon, 7 Aug 2000 10:28:08 -0400 Received: (from ftc@localhost) by guardian.aart.ch (8.9.3/8.9.3/Debian 8.9.3-21) id QAA08041 for axp-list@redhat.com; Mon, 7 Aug 2000 16:28:04 +0200 From: Andreas Trottmann Date: Mon, 7 Aug 2000 16:28:04 +0200 To: axp-list@redhat.com Subject: Re: Compaq Compiler Message-ID: <20000807162804.A7999@aart.ch> Mail-Followup-To: axp-list@redhat.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/1.0.1i In-Reply-To: ; from dvdwb@hotbot.com on Mon, Aug 07, 2000 at 05:04:14AM -0700 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 Mon, Aug 07, 2000 at 05:04:14AM -0700, David Webb wrote: > I'm running RH6.2 on a pc164lx. I wanted to try > using the Compaq compiler to compile the > 2.2.16 kernel that I downloaded from > alphalinux.org. I'm afraid, that's not a good idea. The Linux kernel can, at the moment, only be compiled by GCC. But that's not as bad as it might seem -- the linux kernel does not contain much performance-intensive code, so optimizing the linux kernel would not result in a big speedup of your system anyway. Try ccc on some CPU-intensive application program (scientific programs are usually best for this...), and you will have more success. As for the specific instructions on how to use ccc instead of GCC: > Will changing "gcc" to "ccc" in the two following > lines in /usr/src/linux-2.2.16/Makefile invoke > the ccc compiler instead of the gcc compiler? > > "HOSTCC =gcc" > > "CC =$(CROSS_COMPILE)gcc -D__KERNEL__ -I$(HPATH)" Yes, it would. Other programs could probably work in a similar way. > Will "make" pass options such as "- fast" to the > compiler ( make boot - fast)? No. You have to change the CFLAGS variable for that. -- Andreas Trottmann