+Tue Oct 29 15:39:12 1996 Tom Yu <tlyu@mit.edu>
+
+ * makeshlib.sh: Allow stuffing of SONAME field in shared lib if
+ gcc is being used; this requires newer (2.7.0?) gcc and possibly
+ binutils (2.6?)
+
Mon Oct 21 21:23:15 1996 Tom Yu <tlyu@mit.edu>
* Makefile.in: Fixes for new subdir recursion method.
optflags=""
if test "$HAVE_GCC"x = "x" ; then
optflags="-h $library"
+ else
+ # XXX assumes that we're either using
+ # recent gld (binutils 2.7?) or else using native ld
+ optflags="-Wl,-h -Wl,$library"
fi
ldflags="`echo $ldflags | sed -e 's/-R /-R/g'`"
optflags=""
if test "$HAVE_GCC"x = "x" ; then
optflags="-h $library"
+ else
+ # XXX assumes that we're either using
+ # recent gld (binutils 2.7?) or else using native ld
+ optflags="-Wl,-h -Wl,$library"
fi
echo $CC -G $ldflags -o $library $optflags $FILES $libdirfl $liblist
optflags=""
if test "$HAVE_GCC"x = "x" ; then
optflags="-h $library"
+ else
+ # XXX assumes that we're either using
+ # recent gld (binutils 2.7?) or else using native ld
+ optflags="-Wl,-h -Wl,$library"
fi
echo ld -dp -assert pure-text $ldflags -o $library $optflags $FILES $libdirfl