Hey all, I have a question about running multiple compilers concurrently
on a single OS. Here is what I do:
- configure gcc 4.7.0 with --prefix=/work/tools/gcc47
- build and install
- reference /work/tools/gcc47/lib64 in /etc/ld.so.conf.d/gcc47-x86_64.conf
This, however, forces the new version of libstdc++.so onto binaries that
are built with the system compiler. Normally that works, but we have
just hit an issue where std::stringstream::tellg() returns a different
value after extracting an "int". (the system compiler is 4.4.5 20110214
(Red Hat 4.4.5-6))
So, is there a way to build gcc and force a bump in the .so version?
This way I could keep environments completely distinct when using shared
libs (the issue goes away when statically linking the runtime)
Thanks!
Oleg.