GCC Gets Its Own News Site
Marcel Cox writes "In an effort to promote the development of GCC, Mathieu Lacage created a GCC news page similar to the idea of Kernel Traffic.
While we are on the topic of GCC, it might be worthwhile recalling two major events that occured during the last month:
1. The tree-ssa
branch has been merged into
mainline, which among others means the end of G77 and the addition of GFORTRAN, the new GNU Fortran 95 compiler.
2. The second annual GCC Developer's summit took place some 10 days ago in Ottawa."
error: bollocks
While it is all well and good that GCC now has a news page, is there really anything newsworthy coming out of the project? A quick look at the page shows an obvious lack of substantive news items.
The fact of the matter is that this is a compiler. And a not-as-good-as-commerical one, at that. MSVC.Net, icc, and even the old Borland compilers beat the pants off of it when it comes to code generation. gcc is famous for 1) taking longer to build identical sources, 2) generating slower code than commercial alternatives, and 3) not being as compliant as the latest VC.Net compilers (this is a very recent switch, though).
But this is apples and oranges, you're saying. Gcc is a cross-platform compiler. None of those mentioned above are cross platform. Wrong. VC is cross platform insofar as x86, MIPS (2, 4), SHx, and ARM (v4, v4i, v4t, thumb) are separate platforms. VC covers them all, and produces code that is faster and more compact than gcc, and does so in less time than gcc takes.
So I guess if anything ought to be posted on the new gcc news site, it ought to be how gcc is catching up to commerical alternatives (which, though not Free, are free for download).
hah! you fail it!
I wonder if they are going to get Gary Gnu (sorry, best example I could find) to as the lead gnews anchor?
...that I can't figure out based on what I found on the websites.
I could poke around, but I'm too lazy.
Is the Fortran 95 compiler in any of the stable gcc releases (e.g., 3.4)? If not, when will it appear as a standard part of the suite?
First off, thanks to all the people who contributed to GCC.
/ MasterGCC -2side.pdf
I think that version 3.4 for C++ was a very important release. It's great that there are now a series of compilers for Windows and Linux that are highly standards compliant and reasonably compatible with each other. I am referring to GCC and VC71 on Windows, and GCC and Intel on Linux.
The decision of the GCC people to focus on correctness and standards compliance before optimization was correct in my opinion.
On the other hand, I'm concerned that the most exciting ideas from last years GCC conference do not appear to be on the GCC roadmap, and are not mentioned in the proceedings of this years conference (pls correct me if I'm wrong).
http://people.redhat.com/lockhart/.gcc04
The ideas I'm referring to are LLVM and the compile server. I know that development on LLVM is progressing well, but I haven't heard anymore about it becoming part of GCC. The 'compile server' idea involved starting a single process that managed the compilation of all the translation units in a module, rather than running GCC once for each TU.
I realize these are big changes - are they on the horizon for 4.0?
I thought that's what developers.slashdot.org was. :-P
Unfortunately, the FSF currently has a rather strict policy regarding GCC development which does not permit implementing features like LLVM. I hope this policy will change some time as currently it seems to be a bit blocking for certain interresting features that could be implemented. See the following discussion for this policy:
http://gcc.gnu.org/ml/gcc/2003-11/msg00402.html
As I see it, they just won't export the gcc internal structure.
So fork gcc, or contribute patches to them that does what one wants.
See also http://llvm.cs.uiuc.edu/
You can easily fork GCC, but the problem is maintaining it after the fork, especially if you want to include changes of the mainline GCC after your fork. Beside, it would still be the main GCC that would continue to be used by 99% of the people and so all your efforts are kind of wasted.
A far more productive approach on the long run would be to try to make the FSF realize how much their policy is currently blocking GCC development and relax their rules.
Maybe http://gcc.gnu.org/ml/gcc/2004-05/msg00679.html ?
"GCC can dump its internal representation in a C-like syntax using the
new -fdump-tree-... switches."
...what are SSA trees? A little googling reveals they are:
I'm not a compiler writer (duh), I'm just curious.
The GCC web site has a documentation here
This is a one way dump for debugging purposes. You cannot dump the tree, do some transformations on it, and then reimport it again into GCC. That would be the kind of thing that the policy wants to forbid.
read this and this.
SSA stands for Static Single Assignment.
Partly the work is about unifying parse-tree data structures throughout the compiler. "There is no single tree representation in GCC."
Posters recognized by their sig,
You can easily fork GCC, but the problem is maintaining it after the fork, especially if you want to include changes of the mainline GCC after your fork.
The egcs project who did just that was very successful.
The egcs project who did just that was very successful.
Yes, but it was the major developers that did the fork, not just someone who came along. Also, the fork was not to bypass political rules, but rather to make major changes to the compiler that people thought were to invasive for the production version of GCC.
Of course, the LLVM project mentioned here is more in the direction you suggest. The initial compiler is GCC based, but the way LLVM works would not be permitted in GCC according to the current policies.
I really am impressed that the Fortran 95 compiler is done, so to speak. I wasn't expecting it that fast. It's a important gift to the community.
Since it is run by Mathieu Lacage, he can call it "Lacage a folles"
Here is a brief article.
Take a look at this article at Linux Weekly News
-jim
An update as of June 21st has been posted. The newsletter is also now accessible via http://gccnews.chatta.us.