/[libtool]/libtool/libtool.m4
ViewVC logotype

Diff of /libtool/libtool.m4

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

revision 1.314.2.96 by rwild, Fri Jul 8 15:03:15 2005 UTC revision 1.314.2.97 by pogma, Sun Jul 24 12:21:08 2005 UTC
# Line 3475  case $host_os in Line 3475  case $host_os in
3475      case $cc_basename in      case $cc_basename in
3476        CC*)        CC*)
3477          # Sun C++ 4.2, 5.x and Centerline C++          # Sun C++ 4.2, 5.x and Centerline C++
3478            _LT_AC_TAGVAR(archive_cmds_need_lc,$1)=yes
3479            _LT_AC_TAGVAR(postdeps,$1)='-lCstd -lCrun'
3480          _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'          _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
3481          _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'          _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
3482          _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~          _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
3483          $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'          $CC -G${allow_undefined_flag}  ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
3484    
3485          _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'          _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
3486          _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no          _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
# Line 3498  case $host_os in Line 3500  case $host_os in
3500          esac          esac
3501          _LT_AC_TAGVAR(link_all_deplibs, $1)=yes          _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3502    
3503          # Commands to make compiler produce verbose output that lists          output_verbose_link_cmd='echo'
         # what "hidden" libraries, object files and flags are used when  
         # linking a shared library.  
         #  
         # There doesn't appear to be a way to prevent this compiler from  
         # explicitly linking system object files so we need to strip them  
         # from the output so that they don't get included in the library  
         # dependencies.  
         output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[[LR]]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'  
3504    
3505          # Archives containing C++ object files must be created using          # Archives containing C++ object files must be created using
3506          # "CC -xar", where "CC" is the Sun C++ compiler.  This is          # "CC -xar", where "CC" is the Sun C++ compiler.  This is

Legend:
Removed from v.1.314.2.96  
changed lines
  Added in v.1.314.2.97

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