From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost.localdomain (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id ADC403EAE7 for ; Fri, 8 Mar 2002 13:57:11 -0500 (EST) Received: from lacrosse.corp.redhat.com (IDENT:root@lacrosse.corp.redhat.com [172.16.52.154]) by localhost.localdomain (8.11.6/8.11.6) with ESMTP id g28IvBq27823 for ; Fri, 8 Mar 2002 13:57:11 -0500 Received: (from mail@localhost) by lacrosse.corp.redhat.com (8.11.6/8.9.3) id g28IvB302321 for axp-list@listman.redhat.com; Fri, 8 Mar 2002 13:57:11 -0500 Received: from localhost.localdomain (int-mx1.corp.redhat.com [172.16.52.254]) by lacrosse.corp.redhat.com (8.11.6/8.9.3) with ESMTP id g28IvAG02316 for ; Fri, 8 Mar 2002 13:57:10 -0500 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by localhost.localdomain (8.11.6/8.11.6) with SMTP id g28IvAq27817 for ; Fri, 8 Mar 2002 13:57:10 -0500 Received: from manzanita.silverado (dialup-napanet-206-81-103-178.napanet.net [206.81.103.178]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id g28ItwQ25120 for ; Fri, 8 Mar 2002 13:55:59 -0500 Received: from napanet.net (localhost [127.0.0.1]) by manzanita.silverado (8.9.3/8.9.3) with ESMTP id LAA04363 for ; Fri, 8 Mar 2002 11:01:48 -0800 Message-ID: <3C890A96.FF26E22C@napanet.net> Date: Fri, 08 Mar 2002 11:01:42 -0800 From: Stephen Lewis X-Mailer: Mozilla 4.6 [en] (X11; U; Linux 2.2.6-16apmac ppc) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: Compaq C compiler References: <20020308060803.4DB073F764@listman.redhat.com> Content-Type: text/plain; charset=us-ascii 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.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: Should not need source to compile stuff, can get asm functionality with #pragma intrinsic (asm) and maybe #define __asm__ asm see hints in 'c_asm.h' that comes with ccc "most" gcc options are recognised by ccc, don't need to change the makefiles use CC=ccc make -e however, if you want to try this I would NOT begin with 'X' or the kernel, try something smaller, just turn on all the warnings and read the log files :-) Stephen Lewis > > Re: Compaq C compiler > Date: > Thu, 7 Mar 2002 14:56:12 -0700 > From: > Michal Jaegermann > Reply-To: > axp-list@redhat.com > To: > axp-list@redhat.com > References: > 1 > > > > On Thu, Mar 07, 2002 at 01:42:53PM -0600, Ted Goodridge, Jr wrote: > > I want to compile X and my kernel with CCC, how do I go about doing > > this? This has been discussed in the list before, and I was hoping > I > > might start compiling a FAQ. > > First you are getting an access to CCC sources (good luck with this). > Next you are implemeting all gcc extensions which are used by kernel > and > you also modify a parser, while you are at it, to accept an assembler > syntax as used by gcc. After you did all of that, and thorougly > debugged it and made sure that all silent expectations about > generated > code are met, you compile your kernel to find out that results of all > this exercise are likely slower (there are good reasons for that > prognosis) although you probably hope that differences are not really > measurable. If the later is the case you did _really_ well. > Congratulations! > > As for X server most likely just change make sure that CC variable in > all Makefiles is set to 'ccc' instead of 'gcc'. There is a top > configuration file which should be enough. Maybe you need adjust a > bit > option strings. If you will see any overall performance gains from > that > then please let us know. I mean for the system and not some well > chosen > program or benchmark. > > Michal >