From: Bryan H. <hb...@us...> - 2007-05-11 16:46:14
|
I recently upgraded to gcc-4.0.0-1 and gcc-c++-4.0.0-1 and now a C++ program compiled under the previous gcc3 will not run and C++ compiles fail. The problem is there is no libgcc_s.a on my system, and presumably there used to be. g++ does a "-lgcc_s", so it's required. I looked at an old gcc-3.3.2-3.aix5.1.ppm.rpm and it does not appear to contain libgcc_s.a either. Where am I supposed to get libgcc_s? I found I could work around this with a -static-gcc option. That causes g++ to use -lgcc_eh instead, and libgcc_eh.a is in the gcc-4.0.0 RPM. |