6 ms·
GCC 4.8.1 released, C++11 feature complete
- shared4you 13y agoOT: I submitted the same news yesterday, but HN didn't pick it up: https://news.ycombinator.com/item?id=5797905 https://news.ycombinator.com/item?id=5797905 Just 7 votes, but today this story is already on HN front page. Hmmm, may be I should've chosen a better title.
- melling 13y agoHappens all the time. It used to be worse because there wasn't a duplicate submit feature. You'd see two posts that were 20 minutes apart and the second one caught people's attention. It only takes a couple upvotes before others will take a look.
- belorn 13y agoThere were a HN story a few weeks ago about how to maximize the chance for front page. Some days are better than others, as well as what time of the day.
- jahnu 13y agoWorth noting that libstdc++, whilst a separate project, is not yet feature complete. http://gcc.gnu.org/onlinedocs/libstdc++/manual/status.html#status.iso.200x http://gcc.gnu.org/onlinedocs/libstdc++/manual/status.html#s...
- ot 13y agoOTOH libc++, the stdlib of the Clang project, is C++11 feature complete (and I guess it is the only one): > libc++ is a 100% complete C++11 implementation on Apple's OS X. http://libcxx.llvm.org/ http://libcxx.llvm.org/
- michielvoo 13y agoIs the lib tied to the compiler, or are they interchangeable?
- dietrichepp 13y agoI don't know about GCC, but Clang (at least on OS X) lets you select the stdandard library with the -stdlib option. So the only question is whether you can use libc++ with GCC.
- zaphoyd 13y agoWhen I did research on this a year or two ago the GCC folks told me that GCC is highly coupled to libstdc++ and that it is not really interchangeable. I am not sure if this has changed more recently. Clang definitely lets you easily switch between libstdc++ and libc++.
- livingparadox 13y agoI can confirm you can use libc++ with gcc. I've already built a couple projects with it. It was the only way I could get past the linker step, once I included any c++11 standard library functions...
- snogglethorpe 13y agoThe problem with libc++ the last time I tried it was that it was heavily focused on MacOS, and didn't even build out of the box on Linux. Maybe they've fixed this by now, I dunno. [Though the wording in that blurb, "100% complete C++11 implementation on Apple's OS X" doesn't inspire confidence...]
- blinkingled 13y agoFWIW, Go 1.1 support was planned to be in GCC 4.8.1 but that has not happened and now the plan is for 4.8.2 to have it.
- zaphoyd 13y agoaccording to its release page clang 3.3 (due for release next wednesday) is also C++11 feature complete and apparently has implementations for several c++1y features already. http://clang.llvm.org/cxx_status.html http://clang.llvm.org/cxx_status.html
- mpyne 13y agoAnd perhaps more importantly, clang is the only project with a full implementation of the C++11 standard library. GCC supports the language but libstdc++ is not all the way there yet.
- snogglethorpe 13y agogcc also has various c++1y features already, although I think different ones than clang. Neither compiler team is resting!
- OrsenPike 13y agoAnyone know if there are any Windows builds available for GCC 4.8.x ? I normally use TDM/MinGW but they are lagging on 4.7.2. Also slightly off topic how is clang on Windows these days?
- octopus 13y agoHere, a 4.8.0 build for 32 and 64 bits Windows: http://www.equation.com/servlet/equation.cmd?fa=fortran http://www.equation.com/servlet/equation.cmd?fa=fortran
- OrsenPike 13y agoThanks I will check it out
- pbsd 13y agoThere is a MinGW Windows builds sourceforge project [1]; they have already updated to 4.8.1. rubenvb's builds [2] also include 4.8.0. [1] http://sourceforge.net/projects/mingwbuilds/ http://sourceforge.net/projects/mingwbuilds/ [2] http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/rubenvb/ http://sourceforge.net/projects/mingw-w64/files/Toolchains%2...