Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: Tony Hammitt <thammitt@kc.rr.com>
Subject: Re: kernel compiling
Date: 2000/05/18	[thread overview]
Message-ID: <392410D9.AE103BA1@kc.rr.com> (raw)
In-Reply-To: Pine.LNX.4.21.0005180817570.18289-100000@freyr.asgard

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



  reply	other threads:[~2000-05-18  4:00 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-05-18  4:00 kernel compiling Jim Woodruff
2000-05-18  4:00 ` Tony Hammitt [this message]
2000-05-18  4:00   ` h0l0gRaM
2000-05-19  4:00     ` Ed Vogel
2000-05-19  4:00       ` h0l0gRaM
  -- strict thread matches above, loose matches on Subject: below --
2007-04-27 20:27 Jim Woodruff
2007-05-01  8:14 ` juhana paavola
2007-05-01 16:40   ` Jim Woodruff
2007-05-01 16:44     ` Jim Woodruff
2007-05-06 23:41 ` DEMAINE Benoit-Pierre
1999-08-17  4:00 Jan Geertsma
1999-08-17  4:00 ` Xiaozhou Qiu
1999-08-18  4:00   ` Robert McGwier
1999-08-19  4:00     ` Jan Geertsma
1998-04-01  5:00 SCPetry1
1998-04-02  5:00 ` Philippe GIROLAMI
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox