[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pcc-list
Subject:    Re: Maybe I missed the memo on GCC compatibility
From:       Anders Magnusson <ragge () ludd ! ltu ! se>
Date:       2010-03-21 10:11:16
Message-ID: 4BA5F0C4.7000405 () ludd ! ltu ! se
[Download RAW message or body]

Alt wrote:
> but what's the rationale for having GCC compatibility enabled by default?
>   
Well, the world looks like that, if you install pcc then people tend to 
assume that they can
compile something with it :-)  Not having gcc compat would mean that the 
first thing you
need to do is to rewrite many of the system header files on your OS, and 
then change all
gcc-isms that are in the programs you may want to compile.  This is 
usually not what people
want to do when testing another compiler.

> Or better said: why can't GCC compatibility be disabled?
>   
Laziness.  gcc compat require changes to the yacc code, which is not 
easy to preprocess.
Also, some of the gcc extensions are needed to make the compiler usable 
on a specific
target, and instead of inventing it in a new way I just stick with the 
gcc way.

-- Ragge
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic