Hi, The attached patch adds support for exporting symbols on OSF platforms. I have only tested on Compaq Tru64 4.0. If this patch is okay, I'll submit a similar patch for ltcf-cxx.sh. The patch is against the top of multi-language-branch. Ganesan =================================================================== diff -u -r1.1.2.14 ltcf-c.sh --- ltcf-c.sh 2000/09/04 08:05:22 1.1.2.14 +++ ltcf-c.sh 2000/10/10 10:15:47 @@ -399,6 +399,7 @@ else allow_undefined_flag=' -expect_unresolved \*' archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + archive_expsym_cmds='sed -e "s/^/-exported_symbol /" < $export_symbols > +${lib}.input~$LD -shared${allow_undefined_flag} -hidden -input ${lib}.input $libobjs +$deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version +$verstring` -update_registry ${objdir}/so_locations -o $lib~$rm ${lib}.input' fi hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: @@ -411,6 +412,7 @@ else allow_undefined_flag=' -expect_unresolved \*' archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + archive_expsym_cmds='sed -e "s/^/-exported_symbol /" < $export_symbols > +${lib}.input~$LD -shared${allow_undefined_flag} -hidden -input ${lib}.input $libobjs +$deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo +-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm +${lib}.input' fi hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: =================================================================== -- R. Ganesan ([EMAIL PROTECTED]) | Ph: 91-80-5721856 Ext: 2149 Novell India Development Center. | #include <std_disclaimer.h> _______________________________________________ Libtool mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/libtool