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
_______________________________________________
Axp-list mailing list
Axp-list@redhat.com
https://listman.redhat.com/mailman/listinfo/axp-list
This archive was generated by hypermail version 2a22 on Fri Sep 1 05:03:57 2000 PDT
Send any problems or questions about this archive to webmaster@alphalinux.org.