compat-gcc32 is just a gcc distro in order to give users of more modern gcc versions (such as my version 4.0.1) compatibility with packages that do not work with the newer gcc. My QT libraries have been built with gcc4.0.1 but they still work perfectly well with the rest of my project which is compiled with gcc32... is this just a fluke? And if I need to compile boost with gcc32 whats the easiest way to do this? thanks, Sebastien Vladimir Prus wrote:
Sebastien Gerega wrote:
I am running FC4 with gcc4.0.1 and I installed boost-devel using yum. When I compile with gcc and run the serialization example located at http://www.boost.org/libs/serialization/example/demo.cpp I have no problems.
However, the project I am working on requires that I use compatgcc32 for compilation.
I have no idea what compatgcc32 is.
When I compile with gcc32 and run the same example I get the following output with a seg fault:
.....
Segmentation fault
I am guessing this is because of different compilers being used or different versions of libstdc++ being required but I am able to compile and run examples using other Boost libraries
Which libraries? Are those compiled ones?
without problems. Is there any way around this?
Well, if you've installed boost-serialization using package management tool, and that version is built with gcc 4.0.1 and then you're building application with gcc 3.2 and link to 4.0.1 library, you won't get anything working at all.
You have to rebuild the serialization library with 3.2
- Volodya
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users