/[libtool]/libtool/ltcf-cxx.sh
ViewVC logotype

Diff of /libtool/ltcf-cxx.sh

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

revision 1.1.2.46 by oliva, Tue May 22 10:39:31 2001 UTC revision 1.1.2.47 by oliva, Mon May 28 20:59:25 2001 UTC
# Line 386  case $host_os in Line 386  case $host_os in
386      # NetBSD uses g++ - do we need to do anything?      # NetBSD uses g++ - do we need to do anything?
387      ;;      ;;
388    osf3*)    osf3*)
     if test "$with_gcc" = yes && test "$with_gnu_ld" = no; then  
       allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'  
       archive_cmds='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'  
   
       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'  
       hardcode_libdir_separator=:  
   
       # Commands to make compiler produce verbose output that lists  
       # what "hidden" libraries, object files and flags are used when  
       # linking a shared library.  
       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | egrep "\-L"'  
     fi  
   
389      case $cc_basename in      case $cc_basename in
390        KCC)        KCC)
391          # Kuck and Associates, Inc. (KAI) C++ Compiler          # Kuck and Associates, Inc. (KAI) C++ Compiler
# Line 439  case $host_os in Line 426  case $host_os in
426          output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | sed "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'          output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | sed "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
427          ;;          ;;
428        *)        *)
429          # FIXME: insert proper C++ library support          if test "$with_gcc" = yes && test "$with_gnu_ld" = no; then
430          ld_shlibs=no            allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
431              archive_cmds='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
432    
433              hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
434              hardcode_libdir_separator=:
435    
436              # Commands to make compiler produce verbose output that lists
437              # what "hidden" libraries, object files and flags are used when
438              # linking a shared library.
439              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | egrep "\-L"'
440        else
441              # FIXME: insert proper C++ library support
442              ld_shlibs=no
443        fi
444          ;;          ;;
445      esac      esac
446      ;;      ;;
447    osf4* | osf5*)    osf4* | osf5*)
     if test "$with_gcc" = yes && test "$with_gnu_ld" = no; then  
       allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'  
       archive_cmds='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'  
   
       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'  
       hardcode_libdir_separator=:  
   
       # Commands to make compiler produce verbose output that lists  
       # what "hidden" libraries, object files and flags are used when  
       # linking a shared library.  
       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | egrep "\-L"'  
     fi  
   
448      case $cc_basename in      case $cc_basename in
449        KCC)        KCC)
450          # Kuck and Associates, Inc. (KAI) C++ Compiler          # Kuck and Associates, Inc. (KAI) C++ Compiler
# Line 501  case $host_os in Line 488  case $host_os in
488          output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | sed "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'          output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | sed "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
489          ;;          ;;
490        *)        *)
491          # FIXME: insert proper C++ library support          if test "$with_gcc" = yes && test "$with_gnu_ld" = no; then
492          ld_shlibs=no            allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
493              archive_cmds='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
494              
495              hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
496              hardcode_libdir_separator=:
497              
498              # Commands to make compiler produce verbose output that lists
499              # what "hidden" libraries, object files and flags are used when
500              # linking a shared library.
501              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | egrep "\-L"'
502        else
503              # FIXME: insert proper C++ library support
504              ld_shlibs=no
505        fi
506          ;;          ;;
507      esac      esac
508      ;;      ;;

Legend:
Removed from v.1.1.2.46  
changed lines
  Added in v.1.1.2.47

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