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 7EC9C2EFAE for ; Mon, 7 Aug 2000 08:05:02 -0400 (EDT) Received: (from mail@localhost) by mail.redhat.com (8.8.7/8.8.7) id IAA23938 for axp-list@listman.redhat.com; Mon, 7 Aug 2000 08:05:02 -0400 Received: from mc-qout4.whowhere.com (mc-qout4.whowhere.com [209.185.123.18]) by mail.redhat.com (8.8.7/8.8.7) with SMTP id IAA23932 for ; Mon, 7 Aug 2000 08:05:01 -0400 Received: from Unknown/Local ([?.?.?.?]) by hotbot.com; Mon Aug 7 05:04:14 2000 To: axp-list@redhat.com Date: Mon, 07 Aug 2000 05:04:14 -0700 From: "David Webb" Message-ID: Mime-Version: 1.0 X-Sent-Mail: on X-Mailer: MailCity Service Subject: Compaq Compiler X-Sender-Ip: 198.144.204.199 Organization: HotBot Mail (http://mail.hotbot.mailcity.lycos.com:80) Content-Type: text/plain; charset=us-ascii Content-Language: en Content-Transfer-Encoding: 7bit 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 Hi, 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 followed the instructions at http://www.iol.edu/linux/cpp/started.html to install the folowing: libots-2.2.7-2.alpha.rpm cpml_ev5-5.1.0-2.alpha.rpm compaq_rh62_binutils-2.9.5.0.22-8.alpha.rpm compaq_rh62_gdb-4.18-12.alpha.rpm ladebug-4.0.62-16.alpha.rpm ccc-6.2.9.504-2.alpha.rpm cxx-6.3.9.5-1.alpha.rpm The /usr/doc/ccc-6.2.9.504/README.txt file says: "...a makefile that works on Linux Alpha using the gcc compiler could be used to build the same application with the ccc compiler by changing only the compiler invocation command from gcc (or cc) to ccc." I'm afraid I don't know much about compilers or make, and I haven't been able to find the answers to two questions I have. 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)" A little later the same README.txt file says: "If you can successfully build your application with ccc, you might want to try making it run faster. ... A good first attempt would be just to add -fast to the beginning of your compiler options." Will "make" pass options such as "- fast" to the compiler ( make boot - fast)? Any suggestions will be appreciated. Thanks in advance. David HotBot - Search smarter. http://www.hotbot.com