From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,979b5e13486b49ef X-Google-Attributes: gid111c93,public From: Tony Hammitt Subject: Re: kernel compiling Date: 2000/05/18 Message-ID: <392410D9.AE103BA1@kc.rr.com>#1/1 X-Deja-AN: 625028143 Content-Transfer-Encoding: 7bit References: X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@rr.com X-Trace: typhoon.kc.rr.com 958664921 24.94.177.44 (Thu, 18 May 2000 10:48:41 CDT) MIME-Version: 1.0 Reply-To: thammitt@kc.rr.com NNTP-Posting-Date: Thu, 18 May 2000 10:48:41 CDT Newsgroups: comp.os.linux.alpha You may be able to compile some of the kernel source files with ccc but there are lots of files that have gcc specific assembler instructions, etc. It would be a lot of effort compiling all of the possible files with ccc, then the rest with gcc, and what you would end up with may even boot. But I wouldn't guarantee it. More to the point, the kernel isn't really the best thing to try massive optimizations with anyway. Unless your system is extremely heavily loaded, the kernel doesn't really take up all that much processor time. That and if it's a really time critical piece of code, the chances are that it's already in hand-optimized assembler. What would be more interesting is trying to run something like 'spike', the post-analyzing optimizer (see the news at www.alphalinux.org) on the kernel. It may be able to get some further optimizations but you'd have to run it using user-mode linux, probably. I think getting the libc stuff and XFree4.0 compiled using ccc would be more likely to show benefits and would probably be lots easier. But don't let me discourage you =-] Try getting the kernel working and let us know how it comes out... Regards, Tony Hammitt Jim Woodruff wrote: > > If you have Compaq's ccc installed, do you compile the kernel > with ccc vs. gcc? If so, how? I'v been unable to find any > mention of this in the HOWTO's or other documentations. Is it > a simple matter of replacing gcc with ccc in the HOSTCC and CC > lines of the Makefile? Thanks in advance for any responses. > > -- > > - > Jim Woodruff < jawoodruff@home.com > > Linux + AlphaPowered = 64-bit screamin' performance