Alternatives to gcc (was Re: gcc 4.3: when will it become standardcompiler?)

Pegasus Mc Cleaft ken at mthelicon.com
Thu Jan 15 04:22:27 PST 2009


----- Original Message ----- 
From: "FuLLBLaSTstorm" <fullblaststorm at gmail.com>

> On 2009-01-15 09:45, Roman Divacky wrote:
>> I really dont see any reason why there must be only ONE compiler that
>> can be used to compile FreeBSD.
>
> I fully agree with it, too. Why not to put something like
> OPTION_COMPILER=`gcc|clang|llvm' so every portion of system designed
> for particular compiler could use the right one?

    In principla I like the above idea, but...

    My own personal feeling is that we should have a single compiler for the 
entire base (world && kernel). Use that compiler as the system compiler and 
call it "cc". Any other additional compiler can be installed by the user, if 
he chooses to do so.  If each package / section of the base is compiled with 
a undefined and developer choosen one, wouldent we have to include all three 
compilers in the base? (Or am I reading this wrong?)

    I dont know clang, llvm, pcc, etc. very well, but.. Would this solve our 
problem where we will still need an assembler, linker, archiver, et al?

~Peg

 



More information about the freebsd-current mailing list