mirror of git://gcc.gnu.org/git/gcc.git
parent
f07f528411
commit
0ef8b11bf2
|
@ -1,3 +1,9 @@
|
||||||
|
2001-01-25 David Edelsohn <edelsohn@gnu.org>
|
||||||
|
|
||||||
|
* ltcf-c.sh: Add aix5 case.
|
||||||
|
* ltcf-cxx.sh: Likewise.
|
||||||
|
* ltconfig: Likewise.
|
||||||
|
|
||||||
2001-01-24 Alexandre Oliva <aoliva@redhat.com>
|
2001-01-24 Alexandre Oliva <aoliva@redhat.com>
|
||||||
|
|
||||||
* ltmain.sh (TAG disable-shared, TAG disable-static): Make sure we
|
* ltmain.sh (TAG disable-shared, TAG disable-static): Make sure we
|
||||||
|
|
|
@ -57,7 +57,7 @@ if test "$with_gnu_ld" = yes; then
|
||||||
|
|
||||||
# See if GNU ld supports shared libraries.
|
# See if GNU ld supports shared libraries.
|
||||||
case "$host_os" in
|
case "$host_os" in
|
||||||
aix3* | aix4*)
|
aix3* | aix4* | aix5*)
|
||||||
# On AIX, the GNU linker is very broken
|
# On AIX, the GNU linker is very broken
|
||||||
ld_shlibs=no
|
ld_shlibs=no
|
||||||
cat <<EOF 1>&2
|
cat <<EOF 1>&2
|
||||||
|
@ -251,7 +251,7 @@ else
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
aix4*)
|
aix4* | aix5*)
|
||||||
hardcode_libdir_flag_spec='${wl}-b ${wl}nolibpath ${wl}-b ${wl}libpath:$libdir:/usr/lib:/lib'
|
hardcode_libdir_flag_spec='${wl}-b ${wl}nolibpath ${wl}-b ${wl}libpath:$libdir:/usr/lib:/lib'
|
||||||
hardcode_libdir_separator=':'
|
hardcode_libdir_separator=':'
|
||||||
if test "$with_gcc" = yes; then
|
if test "$with_gcc" = yes; then
|
||||||
|
@ -575,7 +575,7 @@ else
|
||||||
else
|
else
|
||||||
# PORTME Check for PIC flags for the system compiler.
|
# PORTME Check for PIC flags for the system compiler.
|
||||||
case "$host_os" in
|
case "$host_os" in
|
||||||
aix3* | aix4*)
|
aix3* | aix4* | aix5*)
|
||||||
# All AIX code is PIC.
|
# All AIX code is PIC.
|
||||||
ac_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
|
ac_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -116,7 +116,7 @@ fi
|
||||||
|
|
||||||
# In general, the C++ compiler should always link C++ objects.
|
# In general, the C++ compiler should always link C++ objects.
|
||||||
case $target in
|
case $target in
|
||||||
*aix3* | *aix4*)
|
*aix3* | *aix4* | *aix5*)
|
||||||
# AIX just has to be different, doesn't it? :-\
|
# AIX just has to be different, doesn't it? :-\
|
||||||
LD=makeC++SharedLib_r
|
LD=makeC++SharedLib_r
|
||||||
LDFLAGS="$LDFLAGS -p 0"
|
LDFLAGS="$LDFLAGS -p 0"
|
||||||
|
@ -134,7 +134,7 @@ case "$host_os" in
|
||||||
# FIXME: insert proper C++ library support
|
# FIXME: insert proper C++ library support
|
||||||
ld_shlibs=no
|
ld_shlibs=no
|
||||||
;;
|
;;
|
||||||
aix4*)
|
aix4* | aix5*)
|
||||||
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
|
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
|
||||||
# -bexpall does not export symbols beginning with underscore (_)
|
# -bexpall does not export symbols beginning with underscore (_)
|
||||||
always_export_symbols=yes
|
always_export_symbols=yes
|
||||||
|
@ -621,7 +621,7 @@ if test "$with_gcc" = yes; then
|
||||||
esac
|
esac
|
||||||
else
|
else
|
||||||
case "$host_os" in
|
case "$host_os" in
|
||||||
aix4*)
|
aix4* | aix5*)
|
||||||
# All AIX code is PIC.
|
# All AIX code is PIC.
|
||||||
;;
|
;;
|
||||||
chorus*)
|
chorus*)
|
||||||
|
|
4
ltconfig
4
ltconfig
|
@ -942,7 +942,7 @@ aix3*)
|
||||||
soname_spec='${libname}${release}.so$major'
|
soname_spec='${libname}${release}.so$major'
|
||||||
;;
|
;;
|
||||||
|
|
||||||
aix4*)
|
aix4* | aix5*)
|
||||||
version_type=linux
|
version_type=linux
|
||||||
# AIX has no versioning support, so currently we can not hardcode correct
|
# AIX has no versioning support, so currently we can not hardcode correct
|
||||||
# soname into executable. Probably we can add versioning support to
|
# soname into executable. Probably we can add versioning support to
|
||||||
|
@ -1432,7 +1432,7 @@ aix3*)
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
aix4*)
|
aix4* | aix5*)
|
||||||
test "$enable_shared" = yes && enable_static=no
|
test "$enable_shared" = yes && enable_static=no
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in New Issue