GCC 3.4.0 Released
AaronW writes "While checking the GCC website I saw that GCC version 3.4 was officially released on April 18th. Version 3.4 includes numerous changes and enhancements, including better optimization, and the ability to build a profiled version of gcc which is 7.5-11% faster on i386 hardware. Be kind and please use one of the mirror sites."
This announcement is premature, it's still propagating to mirrors; the "announcment" is an error. The official release will be tomorrow.
Human/Ranger/Zangband
Yes! Precompiled headers will be miiiiiiiiine!!!!!
See you, space cowboy...
"precompiled announcements"
is still using a 386 anymore??? Get with the times, gcc! ;)
four nine eighteen twenty-7 thirty-nine forty-7 fiftyeight sixty-nine seventy-9 eighty-8 one-hundred-and-nine one-twenty
Ideally no one would have noticed until tomorrow, when the official announcement will go out..
/., did they?
They did not think about
I thought this problem was solved by Bit Torrent. It's worked well for other projects.
Has the ability to profile shared libraries been fixed? I have tried to do this, and even if you compile a shared library with -pg, and specify it in the LD_PROFILE environment variable, the resulting profile file cannot be processed by gprof V2.4 - instead you get "error: unsupported profile revision 131,071"
I *really* need to profile a shared library, and building it as a staticly linked executable is not an option.
www.eFax.com are spammers
Could someone explain how well does the gcj Java compiler work? I hear that AWT and Swing are not really usable, so how well does it work with SWT or maybe even wxWidgets?
I'm currently in the process of choosing the language/tools for a cross platform app (open source, of course) and I've narrowed the selection down to Java+gcj and c++. Native executables & widgets are a must, since my target audince most likely won't have a JVM installed.
1) No download link
2) No Windows installer
3) No articles on new features except some skimpy list
4) No code samples
5) No comparisons between what the old version generated and what the new one does (with C++ examples)
I am sticking to Microsoft Visual C++, free version, that was recently announced here. More optimization options, too.
If you run across them, be sure to thank Paolo Carlini, Petur Runolfsson, and Jerry Quinn for making 3.4 iostreams as fast as (and often faster than) Glibc's stdio. Thank them, too for making filebuf support large files (>2G) natively without any code or build changes needed, on any target that allows them.
Worth noting, too, is that this is the first release in which the library is part of the ABI. Every previous release since 2.95 has had to increment the libstdc++.so version number, but future 3.4 (and maybe 3.5) releases should be backward compatible. Ask your distribution maintainers to ship 3.4-built versions of all C++ libraries they package, so that they will be compatible with programs built with this and future releases.
They broke binary compatibility in gcc 3.0, and again in 3.2, and now in 3.4.
What do you think the outlook is for binary compatibility with 3.6?
Stupid job ads, weird spam, occasional insight at
FWIW: I have done some app development on Linux using Java compiled with GCJ with UI provided by QT (through the KDEBindings package). I found it worked quite well, and the app was very responsive (didn't feel nearly as clunky as Swing apps often do).
My only complaint was that the occasional completely random feature seemed not to work, as though they had missed a few bindings.. I can't think of any examples, but it was nothing serious.
Well, these guys, these guys, and these guys seem to have no trouble selling 386-based hardware. Not everybody needs the full feature set (or the cost and power requirements) of a Pentium.
Has anybody done the work to setup PCH in a project built with the standard GNU Makefile tools autoconf/make/header? I tried it once, but didn't see a good solution to get the dependencies right. Of course, genuine support for it by automake would be great.
What does a gentoo user do if new versions of apps they use come out? They recompile those apps, so I was wondering do they recompile lots of stuff when a new gcc comes out? On another note I notice Ada is getting some attention, do the added features mean it's not super standard, and thus becoming more C++ like? And does the improved confmity to standards of G++ mean C++ is becoming more Ada like? One thing that bugs me about C++ are the extra ';' at the end of some brackets, though I know at least one reason to include them, but now I can't throw in useless ';' after all my brackets, only some, where they are required? Also the Ada improvements include " Additional set of warnings about potential wrong code Improved error messages Improved code generation" , but does c++?(answer for those who Don't RTFAs: NO) :), I'm actually starting to understand their error messages, but sometimes when a friend asks me to help with their coding problems I have no clue (template >) --Ghaaa.
What's this world coming to when I can't even accept my own friend's typedefs? One can't legislate good form!!!!!...oh wait you did "This is actually ill-formed and it is now rejected" It also seems they ditched yacc and that's no bison!
They say that Eclipse now runs out of the box on GIJ ! The GCC people rock big time ! :)
OK I know this is just idle curiosity but I think a general comparison between Microsoft's new offering, Borland's Free command line tools, Open Watcom and GCC might be interesting.
Nothing in the world is more dangerous than sincere ignorance and conscientious stupidity.
...where does one get the PGP/GPG public key necessary to validate the gcc-3.4.0.tar.bz2.sig file? I've searched all over the gcc.gnu.org website and I cannot find it.
3.4 builds code about 50% faster than 3.3 on Itanium systems (I mean it actually compiles 50% faster, not that the programs that come out are 50% faster.. for that, still gotta use the Intel, Microsoft, HP or Open64/OpenIMPACT compilers..)
Still, I run gentoo, this will really cut down the time spent updating non performance-critical bits of code!
Sorry, the version should have been 2.14, not 2.4.
www.eFax.com are spammers
The even==stable, odd==development pattern is only used by the Linux kernel. (And smaller projects that choose to imitate them.) No other major open source effort does the same thing, because every project manages its time differently.
You cannot apply a technological solution to a sociological problem. (Edwards' Law)
Nope, no need it turns out....
I THINK, like the Linux kernel, the odd-numbered 'minor' releases (e.g. 2.9.x, 3.1.x, 3.3.x, etc.) are the 'development' branches, and the 'even' numbered ones are the 'release' ones...meaning that the binary compatibility changes actually took place in 2.9.x, 3.1.x, and (most importantly for me) 3.3.x.
In any case, I just dropped out of KDE (QT/KDE are C++...), updated to my newly-compiled 3.4.0 GCC/GCC-G++/GCC-JAVA packages, and restarted. No problems so far running off of the new C++ library it appears. (And I DO remember, I think, having to go through the 'recompile QT/KDE because of binary incompatibility' when I updated to the 3.3.x series...)
So, it looks like anyone who's been running off of the 3.3 series GCC compilers SHOULD be okay to upgrade.
Hacker Public Radio is our Friend
This issue of Dr. Dobbs gives some answers. Compares a bunch of compiliers.
I'm very pleased to see that "#pragma once" has been rewritten and undeprecated in this new release of GCC.
That makes it easier for me to port Visual C++ code to GCC.
Thanks a lot.
Tom.
Precompiled headers were disabled FOR CAUSE in this version.
There are some known defects in the current precompiled header implementation that will result in compiler crashes in relatively rare situations. Therefore, precompiled headers should be considered a "technology preview" in this release.
The -Os flag has become dramatically better during the 3.x series.