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 454B62F032 for ; Mon, 7 Aug 2000 08:21:52 -0400 (EDT) Received: (from mail@localhost) by mail.redhat.com (8.8.7/8.8.7) id IAA24708 for axp-list@listman.redhat.com; Mon, 7 Aug 2000 08:21:52 -0400 Received: from smtp2.home.se (smtp2.home.se [195.66.45.71]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id IAA24703 for ; Mon, 7 Aug 2000 08:21:51 -0400 Received: from localhost.localdomain (1Cust162.tnt12.stk3.da.uu.net [213.116.249.162]) by smtp2.home.se (8.8.8/8.8.7) with ESMTP id OAA14124 for ; Mon, 7 Aug 2000 14:21:48 +0200 (CEST) Received: (from olle@localhost) by localhost.localdomain (8.9.3/8.9.3) id OAA06399 for axp-list@redhat.com; Mon, 7 Aug 2000 14:25:39 +0200 Date: Mon, 7 Aug 2000 14:25:39 +0200 From: Olle Hansson To: axp-list@redhat.com Subject: Re: Compaq Compiler Message-ID: <20000807142539.A6380@ummagumma> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i 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 I think you can compile the linux kernel with compaq ccc. When i use compaq ccc i run export CC="ccc" export CFLAGS="-g3 -fast" export CXX="cxx" export CXXFLAGS="-g3 -fast" and then the configure script in the source directory for ex licq-0.85 and now is the default compiller ccc insted for gcc /Olle Hansson * David Webb (dvdwb@hotbot.com) wrote: > 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 > > > > _______________________________________________ > Axp-list mailing list > Axp-list@redhat.com > https://listman.redhat.com/mailman/listinfo/axp-list