Compiling with another compiler than gcc.

Anders Magnusson ragge at ludd.ltu.se
Mon Sep 17 13:29:50 PDT 2007


Hi,

Hartmut Brandt wrote:
> Anders Magnusson wrote:
>> It is not yet bug-free, but it can compile the i386 userspace.  The 
>> big benefit of it
>> (apart from that it's BSD licensed, for license geeks :-) is that it 
>> is fast, 5-10 times
>> faster than gcc, while still producing reasonable code.  The only 
>
> When reading the name pcc my first thought was: isn't that the 
> compiler that was distributed on later Unix V7 tapes? And yes, the 
> web-page says it is based on that one. I'm quite sure that the 
> original code had no BSD copyright, so I wonder how it obtained one? 
> For the rewritten code there is no question, but what for the 
> remaining original code? Has it been relicensed by the original author?
Caldera released it with BSD license some 6 years ago, as part of their 
"ancient unix".

> It's interesting that the compiler is so much faster than gcc. I 
> remember that it was around 3-5 times slower than the dmr compiler 
> under V7. This tells a lot about gcc's speed :-(
>
Yes, and you are remembering correct.  And yes, it says something about gcc.
Even more interesting is that there are lots of quite slow sanity check 
code in
pcc, despite that it's really fast.

-- Ragge


More information about the freebsd-current mailing list