Re: GCC 4.7.0 compiling problem Ubuntu

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

 



9.4.2012 17:46, Erotavlas_turbo@xxxxxxxxx kirjoitti:

 I have tried to compile GCC 4.7.0 under Ubuntu 11.10 64 bit
> with the following configuration parameters:

 configure -v --enable-languages=c,c++,fortran
> --prefix=/opt/gcc-4.7.0 --enable-shared
> --enable-linker-build-id --program-suffix=-4.7.0
> --enable-threads=posix --disable-werror --with-cpu=native
> --with-arch=native --with-tune=native
> --enable-nls --without-included-gettext
> --enable-clocale=gnu --enable-libstdcxx-debug

What do you expect the last option to do? What about
checking this at :

http://gcc.gnu.org/onlinedocs/libstdc++/manual/debug.html

I get this error:

mv: cannot stat `Makefile': No such file or directory

Usually this means that the configure failed in some
directory and no Makefile was created...

make[7]: Entering directory `/home/username/Desktop/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/src/debug'

Here the directory is a 'debug' subdir in the usual:

$target/libstdc++-v3/src

Knowing that eglibc for Ubuntu has those 'libc6-dbg_*.deb'
install packages, one can only wonder what are they for and
whether they would be required to be used with a debug-enabled
'libstdc++' ?

That they are obligatory if one wants a debug -enabled libstdc++
sounds quite obvious for me. Are you sure that the 'libc6-dbg_*.deb'
package(s) is/are installed?

With gcc 4.6.2 all works well.

Maybe with gcc-4.6.2 accepts the usual non-debug eglibc to be
linked with a debug-enabled libstdc++ ?


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux