Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Stephen Lewis <lewis@napanet.net>
To: axp-list@redhat.com
Subject: Re: Compaq C compiler
Date: Fri, 08 Mar 2002 11:01:42 -0800	[thread overview]
Message-ID: <3C890A96.FF26E22C@napanet.net> (raw)
In-Reply-To: 20020308060803.4DB073F764@listman.redhat.com

Should not need source to compile stuff,
can get asm functionality with

#pragma intrinsic (asm)

and maybe

#define __asm__ asm

see hints in 'c_asm.h' that comes with ccc

"most" gcc options are recognised by ccc,
don't need to change the makefiles use

CC=ccc make -e

however, if you want to try this I would NOT begin with 'X'
or the kernel, try something smaller,
just turn on all the warnings and read the log files :-)
Stephen Lewis

> 
>          Re: Compaq C compiler
>      Date: 
>          Thu, 7 Mar 2002 14:56:12 -0700
>      From: 
>          Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
>   Reply-To: 
>          axp-list@redhat.com
>       To: 
>          axp-list@redhat.com
>  References: 
>          1
> 
> 
> 
> On Thu, Mar 07, 2002 at 01:42:53PM -0600, Ted Goodridge, Jr wrote:
> > I want to compile X and my kernel with CCC, how do I go about doing
> > this?  This has been discussed in the list before, and I was hoping
> I
> > might start compiling a FAQ.
> 
> First you are getting an access to CCC sources (good luck with this).
> Next you are implemeting all gcc extensions which are used by kernel
> and
> you also modify a parser, while you are at it, to accept an assembler
> syntax as used by gcc.  After you did all of that, and thorougly
> debugged it and made sure that all silent expectations about
> generated
> code are met, you compile your kernel to find out that results of all
> this exercise are likely slower (there are good reasons for that
> prognosis) although you probably hope that differences are not really
> measurable.  If the later is the case you did _really_ well.
> Congratulations!
> 
> As for X server most likely just change make sure that CC variable in
> all Makefiles is set to 'ccc' instead of 'gcc'.  There is a top
> configuration file which should be enough.  Maybe you need adjust a
> bit
> option strings.  If you will see any overall performance gains from
> that
> then please let us know. I mean for the system and not some well
> chosen
> program or benchmark.
> 
>   Michal
>




       reply	other threads:[~2002-03-08 18:57 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20020308060803.4DB073F764@listman.redhat.com>
2002-03-08 19:01 ` Stephen Lewis [this message]
2002-03-11 18:22 Compaq C Compiler William H. Magill
     [not found] <20020309170102.1A3BF3EF4F@listman.redhat.com>
2002-03-09 17:53 ` Stephen Lewis
  -- strict thread matches above, loose matches on Subject: below --
2002-03-08 22:30 Ted Goodridge
2002-03-08 23:56 ` David Woodhouse
2002-03-09  0:42   ` Ted Goodridge, Jr
2002-03-09  1:04     ` Uncle George
2002-03-09  1:07 ` W Bauske
2002-03-10  4:50   ` George France
2002-03-10  7:00     ` W Bauske
2002-03-11 18:33       ` George France
2002-03-11 21:42         ` W Bauske
2002-03-11 22:51           ` Peter Petrakis
2002-03-12  0:54             ` W Bauske
2002-03-13  4:30               ` Peter Petrakis
2002-03-07 19:42 Compaq C compiler Ted Goodridge, Jr
2002-03-07 19:53 ` Ross A Knepper
2002-03-07 21:56 ` Michal Jaegermann
2002-03-08  3:38   ` Ted Goodridge, Jr
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