PCC builds OpenBSD kernel (4.6 -current)
undeadly.org
undeadly.org
I've used C component of it and it was fine. Their C++ implementation is lacking compared to Visual C++ (especially in generated code size and template-related error messages). What else do people dislike about it?
Porting a program that was written primarily with (say) i386 Debian Linux in mind to other platforms is a great way to find bugs due to incorrect assumptions. They may be asymptomatic on systems with 32-bit processors, the same endian-ness, etc., but they're just lying dormant. Patches from porting and the OpenBSD security audits are contributed upstream, too.
http://groups.google.com/group/comp.os.plan9/browse_thread/t...
The previous license was worse, it had a "make any modifications and you have to send them back to Lucent" clause.
Theo was right and the world was robbed and the now the compilers are available in either GPL, LGPL, Lucent or MIT license form from the Vita Nuova Inferno project.
http://www.vitanuova.com/inferno/downloads.html http://www.vitanuova.com/inferno/contents.html
And a hybrid license through Plan9Ports
What a fuck up.
If you've had to maintain GCC for your platform -- or worse yet, tried to add even small improvements -- you'd understand why momentum is building to replace it.
Not that switching to GPLv3 helped GCC any. That's one reason among many that Apple stopped GCC development and put their weight behind LLVM.
[1] http://www.openbsd.org/papers/magnusson_pcc.pdf [2] http://blog.llvm.org/2009/12/clang-builds-llvm.html
ansic: 869244 (70.89%)
ada: 150280 (12.26%)
cpp: 114629 (9.35%)
f90: 34164 (2.79%)
sh: 18588 (1.52%)
objc: 13047 (1.06%)
exp: 8821 (0.72%)
fortran: 7139 (0.58%)
asm: 4422 (0.36%)
ml: 2485 (0.20%)
perl: 1080 (0.09%)
awk: 842 (0.07%)
lex: 589 (0.05%)
yacc: 587 (0.05%)
pascal: 105 (0.01%)
haskell: 98 (0.01%)
lisp: 59 (0.00%)It honestly amazes me that GCC is as far along as it is; it says something about the developers' dedication to free software. However, with compilers like LLVM+Clang becoming better and better by the day (largely due to the fantastic design facilitating efficient development), I doubt we'll be seeing much of GCC in a few years.
You either have to treat it as an executable black box, or fork the whole damn project -- which actually happened back in the day when the FSF's sole paid developer refused all public involvement with RMS's blessing.
I can't find it right now, but there was also an old flamewar (can't remember if it was public or just a public recounting) between RMS and Steve Jobs over NeXT's Objective-C frontend.