Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Compaq Compiler
@ 2000-08-07 12:04 David Webb
  2000-08-07 12:25 ` Olle Hansson
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: David Webb @ 2000-08-07 12:04 UTC (permalink / raw)
  To: axp-list

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




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2000-08-08 21:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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