[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

gcc in debian/unstable

While looking for something else, I noticed that the GCC in
Debian/unstable is configured with --enable-debug:

$ gcc -v
Reading specs from /usr/lib/gcc-lib/ia64-linux/3.3.2/specs
Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc ia64-linux
Thread model: posix
gcc version 3.3.2 20031005 (Debian prerelease)

Is this intentional?  A while back, I measured this with gcc-pre3.4
and with that compiler, the overhead of --enable-debug was >30%.
Unless there are good reasons for it, my recommendation would be to
build with --disable-debug, as that would likely speed up
compile-times a lot.


Reply to: