libstdc++-v3 and --enable-version-specific-runtime-libs
Magnus Fromreide
magfr@lysator.liu.se
Wed Jan 10 11:43:00 GMT 2001
If --enable-version-specific-runtime-libs is specified when the compiler
is made then the following program won't compile:
#include <cstdio>
int main()
{
printf("Hello world\n");
return 0;
}
The problem is that it can't locate bits/c++-config.h which ends up in
install-dir/g++-v3
The libs that are sought are
#include "..." search starts here:
#include <...> search starts here:
install-dir/lib/gcc-lib/i586-pc-linux-gnu/2.97/include/g++
install-dir/i586-pc-linux-gnu/include/
/usr/local/include
install-dir/lib/gcc-lib/i586-pc-linux-gnu/2.97/include
/usr/include
End of search list.
Could someone please consider taking a look at this? I have been looking
but lost myself in the innards of the install scripts. I think it is odd
that I end up with anything at all under install-dir/i586-pc-linux-gnu,
shouldn't everything be under
install-dir/lib/gcc-lib/i586-pc-linux-gnu/2.97 when I have made a native
build?
Configured with: ../gcc/configure
--prefix=/usr/local/src/gnu/gcc-2.97/install --enable-languages=c,c++
--enable-version-specific-runtime-libs --disable-nls
Magnus Fromreide +46-13 17 68 48
MÃÂ¥rdtorpsgatan 21, 2tr magfr@lysator.liu.se
S-584 34 LINKÃÂPING
More information about the Libstdc++
mailing list