gcc 4.2.x released :) back
(L) [2007/05/16] [greenhybrid] [gcc 4.2.x released :)] Wayback![LINK http://gcc.gnu.org/gcc-4.2/changes.html]
éditer: heya, gomp seems now to be officially part of gcc [SMILEY Very Happy]
edit sqrt(2)^2: I changed the title of this topic so it is more general...
_________________
[LINK http://greenhybrid.net/ greenhybrid.net]
Real Men code Software Graphics.
(L) [2007/05/21] [tbp] [gcc 4.2.x released :)] Wayback!Even better, [LINK http://gcc.gnu.org/onlinedocs/gcc-4.2.0/libgomp/] went live.
_________________
May you live in interesting times.
[LINK https://gna.org/projects/radius/ radius] | [LINK http://ompf.org/ ompf] | [LINK http://ompf.org/wiki/ WompfKi]
(L) [2007/05/21] [beason] [gcc 4.2.x released :)] Wayback!As of yesterday I still didn't see g++-4.2 packages for my kubuntu feisty. Is g++ easy enough to build your own and use without mucking up the rest of your linux system?
(L) [2007/05/21] [Ho Ho] [gcc 4.2.x released :)] Wayback!I'm not sure about other distros byt my Gentoo will soon be compiled from start to finish by GCC 4.2, just around 100 little packages left of ~800. No problems so far.
_________________
In theory, there is no difference between theory and practice. But, in practice, there is.
Jan L.A. van de Snepscheut
(L) [2007/05/22] [Lynx] [gcc 4.2.x released :)] Wayback!Unfortunately, there are no feature updates between Ubuntu releases, unless you find some "3rd party" package you have to build yourself (i don't think upgrading to Gutsy can be recommended unless you install it in a chroot...)
I Compiled 4.2.0 this weekend, and don't be afraid, it's quite simple these days...
Just get the gcc 4.2.0 source archive and the dependencies (all available via synaptic, including libmpfr-dev/libgmp-dev), unpack, create another directory for object files on same level and from there do something like:
"../gcc-4.2.0/configure -v --enable-languages=c,c++,fortran,objc --prefix=/usr/local --with-system-zlib --without-included-gettext --enable-threads=posix --program-suffix=-4.2 --enable-__cxa_atexit --enable-mpfr --enable-checking=release --disable-multilib x86_64-linux-gnu"
and run "make" and "make install".
That was my config (mostly taken from gcc -v output of Ubuntu's 4.1.2) for the languages i could possibly ever need, however witout 32bit support (--disable-multilib) because that needs some extra stuff...
Only slight annoyance was that libraries were installed into /usr/local/lib64 which i didn't have in ld.so.conf so trying to running compiled programs gave an interesting error [SMILEY Smile]
But of course you can just configure to /usr, i just was a coward...
As /usr/bin/gcc etc. are all symlinks in Ubuntu, you can change them now to point to gcc-4.2 etc. (see --program-suffix option) to make it your "default" compiler.
More info:
[LINK http://gcc.gnu.org/install/]
especially the Configuration page...i possibly omitted some useful options, but many of those options other people seem to use are default anyway according to the documentation, or only apply if you have non-GNU tools installed as default and such...
The only thing i'm not sure about is the "--enable-bootstrap" option, what exactly happens with 4.2 when this is omitted? Is it just a consistency check in any case?
(L) [2007/07/10] [greenhybrid] [gcc 4.2.x released :)] Wayback!hurra!
for the debian-users among us (except tbp, who liked to run an unstable one before most of us [SMILEY Wink] ), gcc 4.2 made it to testing (that was already one or two weeks ago, if I remember correctly).
since those are deb-packages, they should also run fine on ubuntu and others.
btw.: has someone a clue, how the -Os flag performs in 4.2 compared to 4.1?
edit: sorry, forgot the linkage: [LINK http://packages.debian.org/cgi-bin/search_packages.pl?keywords=gcc&searchon=names&subword=1&version=testing&release=all]
_________________
[LINK http://greenhybrid.net/ greenhybrid.net]
Real Men code Software Graphics.
(L) [2007/07/10] [madd] [gcc 4.2.x released :)] Wayback!For windows people using mingw here is a link to some precompiled gcc 4.2 binaries that support openmp:
[LINK http://forums.codeblocks.org/index.php/topic,5937.0.html]
There are some issues with gcc 4.x on vista, so if you use vista you have to manually add some include and  lib dirs..
There's also a thread with gcc 4.3 binaries.
(L) [2007/07/10] [Lynx] [gcc 4.2.x released :)] Wayback!Hm doesn't debian have different package names/versions than ubuntu? I thought i tried something like that once and got lots of dependency errors. You could force installation, but that's not really the nicest way...
And i wonder why the latest official MinGW still seems to be 3.4.2, which is almost ancient now.
(L) [2007/07/23] [Lynx] [gcc 4.2.x released :)] Wayback!I already wanted to post that, but looking at the date of beason's post i figured he must've found out already anyway [SMILEY Smile]
Now i only wish there was some change log with the most important fixes...but i guess i'll just compile it and be happy. First update always seems to come rather quickly...and for most bugs i probably couldn't tell if my code or the compiler is wrong anyway...
(L) [2007/07/23] [greenhybrid] [gcc 4.2.x released :)] Wayback!To be honest, I am still running 4.1 [SMILEY Neutral]
_________________
[LINK http://greenhybrid.net/ greenhybrid.net]
Real Men code Software Graphics.
(L) [2007/10/10] [jogshy] [gcc 4.2.x released :)] Wayback!Very good notice!
Now we have to wait to be included definitely in MinGW  [SMILEY Crying or Very sad]
_________________
I know I ask too much... but i'm on panic mode and there is no panic button to press [SMILEY stick out tongue]
back