Many thanks to all who have helped figure out how to resolve the
symbol clash problem that occurs when linking the dynamic stdc++ library
on Alpha (more info at
http://gcc.gnu.org/install/specific.html#alpha*-dec-osf*)
Seeing as our environment is already using the shared libstdc++,
we can't remove it (it would break programs for many users), nor can we
create future incompatibilities by inserting libgcc symbols into
libstdc++; instead, we have devised another workaround:
We run g++ with the "-v" flag, and modify the produced "collect2"
command (it's the link command) to frame the "-lstdc++" directive with
"-no_so" and "-so_shared" directives. Executing this modified linker
directive allows the linker to link only libstdc++ statically, but not
other libraries.
The problem is that this process is rather cumbersome. One would
imagine that there would be OS patches which would repair this linker
problem. Does anyone know if such patches are available for Digital Unix 4.0d?
---
Valerie Caro Computer Science Computing Facility,
valerie_at_cs.umass.edu CmpSci Room 126
University of Massachusetts
Amherst, MA 01003
Received on Fri Oct 13 2000 - 16:33:11 NZDT