Hi,
I'm resending this message to the libtool list as I sent it directly
to Robert without realising that Reply-To: wasn't set.
* Robert Boehne
| If you are using CVS Libtool, then the problem is with
| your Compiler. If not, then CVS Libtool may fix it.
Thanks alot Robert, this solved the most important part of my problem,
since I wasn't using cvs libtool.
It worked really well when running ./configure --disable-static, but
when running ./configure && make (thus --enable-static) AR (in this
case
# The archiver.
AR="/opt/SUNWspro/bin/CC -xar"
AR_FLAGS="-o"
complains on the 'x' when the line
$run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
from the code below is run. Is this a but or a feature?
if test -n "$convenience"; then
if test -n "$whole_archive_flag_spec"; then
save_libobjs=$libobjs
eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
else
gentop="$output_objdir/${outputname}x"
$show "${rm}r $gentop"
$run ${rm}r "$gentop"
$show "$mkdir $gentop"
$run $mkdir "$gentop"
status=$?
if test "$status" -ne 0 && test ! -d "$gentop"; then
exit $status
fi
generated="$generated $gentop"
for xlib in $convenience; do
# Extract the objects.
case $xlib in
[\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
*) xabs=`pwd`"/$xlib" ;;
esac
xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'`
xdir="$gentop/$xlib"
$show "${rm}r $xdir"
$run ${rm}r "$xdir"
$show "$mkdir $xdir"
$run $mkdir "$xdir"
status=$?
if test "$status" -ne 0 && test ! -d "$xdir"; then
exit $status
fi
$show "(cd $xdir && $AR x $xabs)"
$run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
libobjs="$libobjs "`find $xdir -name \*.$objext -print -o -name \*.lo
-print | $NL2SP`
done
fi
fi
Erik.
--
It's a miracle that curiosity survives formal education.
-- Albert Einstein
* Robert Boehne
| If you are using CVS Libtool, then the problem is with
| your Compiler. If not, then CVS Libtool may fix it.
Thanks alot Robert, this solved the most important part of my problem,
since I wasn't using cvs libtool.
It worked really well when running ./configure --disable-static, but
when running ./configure && make (thus --enable-static) AR (in this
case
# The archiver.
AR="/opt/SUNWspro/bin/CC -xar"
AR_FLAGS="-o"
complains on the 'x' when the line
$run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
from the code below is run. Is this a but or a feature?
if test -n "$convenience"; then
if test -n "$whole_archive_flag_spec"; then
save_libobjs=$libobjs
eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
else
gentop="$output_objdir/${outputname}x"
$show "${rm}r $gentop"
$run ${rm}r "$gentop"
$show "$mkdir $gentop"
$run $mkdir "$gentop"
status=$?
if test "$status" -ne 0 && test ! -d "$gentop"; then
exit $status
fi
generated="$generated $gentop"
for xlib in $convenience; do
# Extract the objects.
case $xlib in
[\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
*) xabs=`pwd`"/$xlib" ;;
esac
xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'`
xdir="$gentop/$xlib"
$show "${rm}r $xdir"
$run ${rm}r "$xdir"
$show "$mkdir $xdir"
$run $mkdir "$xdir"
status=$?
if test "$status" -ne 0 && test ! -d "$xdir"; then
exit $status
fi
$show "(cd $xdir && $AR x $xabs)"
$run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
libobjs="$libobjs "`find $xdir -name \*.$objext -print -o -name \*.lo
-print | $NL2SP`
done
fi
fi
Erik.
--
It's a miracle that curiosity survives formal education.
-- Albert Einstein
_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool