This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

include/g++-v3/c++ path with libstdc++ under gcc 3.1


Hello,

After building and installing gcc 3.1 I ran into compile
errors in that the libstdc++ header files could not find
bits/c++config.h.  After search for this file I found it was
under this extra c++ directory.  That is it was

	..../include/g++-v3/c++/bits/c++config.h
instead of
	..../include/g++-v3/bits/c++config.h

I worked around this by adding an extra -I option to the c++
directory.

My config option for gcc were:

../gcc-3.1/configure --prefix=/proj/alctools/gcc/linux_i386_$ver --disable-s
hared --enable-static  --enable-long-long --enable-languages="c c++"

I had the same problem for a similar build for Solaris/sparc

A different problem encountered with this version and not
3.0.4 is the undefined link symbol on Solaris/sparc of:

std::_Format_cache<char>::_Format_cache[in-charge]()../sunos5_sparc/debug_ob
j/main.o

and these multiply defined symbols on Linux

__xstat64
__fxstat64

These last errors may not be directly gcc or libstdc++, but they
didn't show up with my 3.0.4 gcc installation and so I thought
I'd mention them.

Thanks for any clues!

--John
j.clinton@aristoslogic.com



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]