From: Andreas Trottmann <andreas.trottmann@werft22.com>
To: axp-list@redhat.com
Subject: Re: Compaq Compiler
Date: Mon, 7 Aug 2000 16:28:04 +0200 [thread overview]
Message-ID: <20000807162804.A7999@aart.ch> (raw)
In-Reply-To: <POLOLNOLGJJEIAAA@hotbot.com>; from dvdwb@hotbot.com on Mon, Aug 07, 2000 at 05:04:14AM -0700
On Mon, Aug 07, 2000 at 05:04:14AM -0700, David Webb wrote:
> 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'm afraid, that's not a good idea. The Linux kernel can, at the moment,
only be compiled by GCC. But that's not as bad as it might seem -- the
linux kernel does not contain much performance-intensive code, so
optimizing the linux kernel would not result in a big speedup of your
system anyway.
Try ccc on some CPU-intensive application program (scientific programs
are usually best for this...), and you will have more success.
As for the specific instructions on how to use ccc instead of GCC:
> 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)"
Yes, it would. Other programs could probably work in a similar way.
> Will "make" pass options such as "- fast" to the
> compiler ( make boot - fast)?
No. You have to change the CFLAGS variable for that.
--
Andreas Trottmann <andreas.trottmann@werft22.com>
next prev parent reply other threads:[~2000-08-07 14:28 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-08-07 12:04 Compaq Compiler David Webb
2000-08-07 12:25 ` Olle Hansson
2000-08-07 14:24 ` Michal Jaegermann
2000-08-07 14:28 ` Andreas Trottmann [this message]
2000-08-07 16:12 ` Routing Crash Darren Breeze
2000-08-07 17:36 ` Compaq Compiler David Huggins-Daines
2000-08-08 6:35 ` FP on Linux/Alpha (Re: Compaq Compiler) bryan
2000-08-08 21:35 ` Ross A Knepper
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