/[libtool]/libtool/tests/link-2.test
ViewVC logotype

Diff of /libtool/tests/link-2.test

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.1.3 by gord, Tue Apr 1 18:59:30 1997 UTC revision 1.1.1.3.8.1 by gary, Sat Jun 30 20:27:42 2001 UTC
# Line 10  if test -z "$srcdir"; then Line 10  if test -z "$srcdir"; then
10  fi  fi
11  . $srcdir/defs || exit 1  . $srcdir/defs || exit 1
12    
13    rm -f hell.lo
14    cat > hell.lo <<EOF
15    # Generated by libtool
16    pic_object=none
17    non_pic_object=hell.o
18    EOF
19    
20  # Try a sample link command.  # Try a sample link command.
21  linkresult=`$libtool -n --mode=link gcc -o something foo.o hell.lo`  linkresult=`$libtool -n --mode=link $CC -o something foo.o hell.lo`
22    
23    res=$?
24    
25    rm -f hell.lo
26    
27  test $? -eq 0 || exit 1  test $res -eq 0 || exit 1
28    
29  echo "$linkresult"  echo "$linkresult"
30  case "$linkresult" in  case "$linkresult" in

Legend:
Removed from v.1.1.1.3  
changed lines
  Added in v.1.1.1.3.8.1

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26