![]() |
| | #1 | |
| Registered User Join Date: Dec 2006 Location: Canada
Posts: 2,012
| GCC 4.4.0 released! Quote:
| |
| cyberfish is offline | |
| | #2 |
| Senior software engineer Join Date: Mar 2007 Location: Portland, OR
Posts: 5,768
| Now if only the GNU ld guys would get on the ball and fix the core dump I've been seeing for three years...
__________________ "Congratulations on your purchase. To begin using your quantum computer, set the power switch to both off and on simultaneously." -- raftpeople@slashdot |
| brewbuck is offline | |
| | #3 |
| Registered User Join Date: Dec 2006 Location: Canada
Posts: 2,012
| Hmm for some reason 4.4.0 is not up on the GNU FTP and mirrors yet. Guess we still have to wait a bit, or SVN it. |
| cyberfish is offline | |
| | #4 |
| and the hat of sweating Join Date: Aug 2007 Location: Toronto, ON
Posts: 3,285
| So what's new in 4.4?
__________________ "I am probably the laziest programmer on the planet, a fact with which anyone who has ever seen my code will agree." - esbo, 11/15/2008 "the internet is a scary place to be thats why i dont use it much." - billet, 03/17/2010 |
| cpjust is offline | |
| | #5 |
| Registered User Join Date: Dec 2006 Location: Canada
Posts: 2,012
| GCC 4.4 Release Series — Changes, New Features, and Fixes - GNU Project - Free Software Foundation (FSF) Mostly optimizations from what I heard, with a new register allocator (IRA). And more C++0x stuff of course (including <thread>!). |
| cyberfish is offline | |
| | #6 |
| Malum in se Join Date: Apr 2007
Posts: 3,188
| yeah, no direct download though, which is one thign that always ........es me off about open source, as if everyone is going to go through the trouble of setting up an SVN directory for every project they download. I mean for sciences sake, at least rar the ........ers up and give people a direct link, not a link to a mirror that doesnt respond.
__________________ Until you can build a working general purpose reprogrammable computer out of basic components from radio shack, you are not fit to call yourself a programmer in my presence. This is cwhizard, signing off. |
| abachler is offline | |
| | #7 | |
| C++ Witch Join Date: Oct 2003 Location: Singapore
Posts: 11,375
| Quote:
__________________ C + C++ Compiler: MinGW port of GCC Build + Version Control System: SCons + Bazaar Look up a C/C++ Reference and learn How To Ask Questions The Smart Way | |
| laserlight is online now | |
| | #8 |
| Registered User Join Date: Jun 2005 Location: New York
Posts: 1,465
| I keep trying to build this under cygwin and then mfpr fails damnit
__________________ ╔╗╔╦══╦╗╔╦══╦╗ ║╚╝║╔╗║╚╝║╔╗║║ ║╔╗║╠╣║╔╗║╠╣╠╣ ╚╝╚╩╝╚╩╝╚╩╝╚╩╝ codez http://code.google.com/p/zxcvbn/ |
| Tonto is offline | |
| | #9 |
| Registered User Join Date: Dec 2006 Location: Canada
Posts: 2,012
| I will try it with MSYS tonight. |
| cyberfish is offline | |
| | #10 |
| Registered User Join Date: Jun 2005 Location: New York
Posts: 1,465
| i have it compiling because i couldn't find any binary distribution for cygwin. there's a binary distribution for mingw and msys though TDM's GCC/mingw32 Builds i've had it compiling for like 10 hours now @_@
__________________ ╔╗╔╦══╦╗╔╦══╦╗ ║╚╝║╔╗║╚╝║╔╗║║ ║╔╗║╠╣║╔╗║╠╣╠╣ ╚╝╚╩╝╚╩╝╚╩╝╚╩╝ codez http://code.google.com/p/zxcvbn/ |
| Tonto is offline | |
| | #11 |
| Registered User Join Date: Dec 2006 Location: Canada
Posts: 2,012
| Hmm my computer decided to die on me tonight, so no building GCC for me . Building all that stuff on my 12" AMD tablet that doesn't need any help to overheat is probably not a good idea.I don't think it took that long when I last tried it, though. More like 30 mins - 1 hr (on my Core 2). Maybe it's Cygwin. Apparently Cygwin has a very slow implementation of fork(), so configure scripts all run forever. Not sure if make is affected by that, too. |
| cyberfish is offline | |
| | #12 | |
| Registered User Join Date: Dec 2006 Location: Canada
Posts: 2,012
| Done! MSYS version, no cygwin requirement. Code: C:\Documents and Settings\Administrator\My Documents>gcc -v Using built-in specs. Target: i686-pc-mingw32 Configured with: ../configure --enable-languages=c,c++ --target=i686-pc-mingw32 --prefix=/mingw32 --with-sysroot=/mingw32 --disable-shared --disable-nls Thread model: win32 gcc version 4.4.0 20090404 (prerelease) (GCC) Took me a whole afternoon + night hunting for the bits and pieces, compiling, troubleshooting, etc. GCC itself took about 2 hours to compile. This version uses the CRT and headers from the mingw-w64 project (NOT the original mingw). It seems to be better maintained, and more feature-rich, and supports 64-bit (as well as 32-bit). No multilib for now, though (-m32/-m64). I only tested it briefly, and it seems to work (-std=gnu++0x is too nice ). Didn't test any Windows API code, though, since I don't have any...If anyone wants to try it out - http://cyberfish.wecheer.com/mingw32.7z (~27MB, decompresses to 250MB) how I compiled everything (I'm really inexperienced at this... anyone see anything wrong?) Quote:
Last edited by cyberfish; 04-06-2009 at 02:33 AM. | |
| cyberfish is offline | |
| | #13 | |
| Registered User Join Date: Dec 2006 Location: Canada
Posts: 2,012
| For my chess program, GCC 4.4 (on Linux) doesn't make it measurably faster than with GCC 4.3, but "-O3" compilation time is about 30% longer. Quote:
. | |
| cyberfish is offline | |
| | #14 |
| Senior software engineer Join Date: Mar 2007 Location: Portland, OR
Posts: 5,768
| But did you build GCC the same way the older one was built?
__________________ "Congratulations on your purchase. To begin using your quantum computer, set the power switch to both off and on simultaneously." -- raftpeople@slashdot |
| brewbuck is offline | |
| | #15 |
| Registered User Join Date: Dec 2006 Location: Canada
Posts: 2,012
| Hmm good point. I didn't. 4.3 is from Ubuntu APT. I only built 4.4 myself. And I just realized I actually checked out trunk (4.5.0) instead of 4.4 release branch. Not sure what difference that makes, since it was just branched a few days ago. I am checking out 4.4 branch now. GCC trunk was built with -O2, though, and I suspect the Ubuntu people build with -O2, too. |
| cyberfish is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Visual Studio Express / Windows SDK? | cyberfish | C++ Programming | 23 | 01-22-2009 02:13 AM |
| Profiler Valgrind | afflictedd2 | C++ Programming | 4 | 07-18-2008 09:38 AM |
| How does compiler/linker such as GCC decide to start locating the appropriate library | shong9 | C Programming | 4 | 09-02-2007 08:47 PM |
| Compiles on gcc 3.3 but not on gcc 4.0.3 | cunnus88 | C++ Programming | 5 | 03-29-2007 12:24 PM |
| gcc | DavidP | A Brief History of Cprogramming.com | 21 | 10-22-2003 03:46 PM |