Author Topic: GCC info  (Read 3958 times)

Offline demone

  • Multiple posting newcomer
  • *
  • Posts: 36
GCC info
« on: March 15, 2013, 09:04:14 am »
I want some info about the new Code::blocks release:

wich GCC version are C::B using?

the one with SJLJ or Dwarf 2 unwindingi?

underlying GCC version.. is 4.7.1 or 4.7.0?

thx.
processor: Intel Core 2 Quad.
ram: 4 GB
os: Vista
gfx card: Ati Radeon HD 5570

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: GCC info
« Reply #1 on: March 15, 2013, 09:15:28 am »
Quote
C:\Program Files\CodeBlocks\MinGW\bin>gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=c:/program files/codeblocks/mingw/bin/../libexec/gcc/mingw32/4.7.1/lto-wrapper.exe
Target: mingw32
Configured with: ../../src/gcc-4.7.1/configure --build=mingw32
--enablelanguages=c,c++,ada,fortran,objc,obj-c++ --enable-threads=win32 --enable-libgomp
--enable-lto --enable-fully-dynamic-string --enable-libstdcxx-debug --enable-version-specific-runtime-libs
--with-gnu-ld --disable-nls --disable-win32-registry --disable-symvers
--disable-build-poststage1-with-cxx --disable-werror --prefix=/mingw32tdm
--with-local-prefix=/mingw32tdm --enable-cxx-flags='-fno-function-sections -fno-data-sections'
--with-pkgversion=tdm-1 --enable-sjlj-exceptions
--with-bugurl=http://tdm-gcc.tdragon.net/bugs
Thread model: win32
gcc version 4.7.1 (tdm-1)

Offline demone

  • Multiple posting newcomer
  • *
  • Posts: 36
Re: GCC info
« Reply #2 on: March 15, 2013, 09:30:30 am »
thanks! great to see sjlj :). good job with this new IDE.
processor: Intel Core 2 Quad.
ram: 4 GB
os: Vista
gfx card: Ati Radeon HD 5570

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: GCC info
« Reply #3 on: March 15, 2013, 12:05:44 pm »
How is seeing sjlj great? It is the by far most inferior way of exception handling, on any architecture.

The only advantage of sjlj over dw2 (solely under Win32) is that it works with exceptions that take a weird way through system DLLs, which really isn't an advantage if you ask me (shouldn't happen in the first place). And in respect of vectored exception handling, it has no advantage at all.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."