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 |
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 |
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 |
;; |
;; |