Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Olle Hansson <olle.hansson@home.se>
To: axp-list@redhat.com
Subject: Re: Compaq Compiler
Date: Mon, 7 Aug 2000 14:25:39 +0200	[thread overview]
Message-ID: <20000807142539.A6380@ummagumma> (raw)
In-Reply-To: <POLOLNOLGJJEIAAA@hotbot.com>; from dvdwb@hotbot.com on Mon, Aug 07, 2000 at 05:04:14AM -0700

I think you can compile the linux kernel with compaq ccc.

When i use compaq ccc i run
export CC="ccc"
export CFLAGS="-g3 -fast"
export CXX="cxx"
export CXXFLAGS="-g3 -fast"

and then the configure script in the source directory for ex licq-0.85

and now is the default compiller ccc insted for gcc

/Olle Hansson

* David Webb (dvdwb@hotbot.com) wrote:
> 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
> 
> 
> 
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list




  reply	other threads:[~2000-08-07 12:21 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 [this message]
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
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