[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] AIX5/IA64 fixes
From: |
Timothy Wall |
Subject: |
[PATCH] AIX5/IA64 fixes |
Date: |
Fri, 06 Jul 2001 11:18:57 -0400 |
These patches make things work correctly for an AIX5/IA64 system using GNU
tools.
2001-07-06 Timothy Wall <address@hidden>
* ltcf-c.sh: Don't disable shlibs on AIX5/IA64.
* ltcf-cxx.sh: Keep gnu defaults if using gnu tools on AIX5/IA64.
Index: ltcf-c.sh
===================================================================
RCS file: /cvs/cvsfiles/devo/ltcf-c.sh,v
retrieving revision 1.7
diff -d -c -p -b -w -r1.7 ltcf-c.sh
*** ltcf-c.sh 2001/04/30 22:36:49 1.7
--- ltcf-c.sh 2001/07/06 15:15:01
*************** if test "$with_gnu_ld" = yes; then
*** 58,64 ****
# See if GNU ld supports shared libraries.
case $host_os in
aix3* | aix4* | aix5*)
! # On AIX, the GNU linker is very broken
ld_shlibs=no
cat <<EOF 1>&2
--- 58,65 ----
# See if GNU ld supports shared libraries.
case $host_os in
aix3* | aix4* | aix5*)
! # On AIX/PPC, the GNU linker is very broken
! if test "$host_cpu" != ia64; then
ld_shlibs=no
cat <<EOF 1>&2
*************** if test "$with_gnu_ld" = yes; then
*** 69,74 ****
--- 70,76 ----
*** so that a non-GNU linker is found, and then restart.
EOF
+ fi
;;
amigaos*)
Index: ltcf-cxx.sh
===================================================================
RCS file: /cvs/cvsfiles/devo/ltcf-cxx.sh,v
retrieving revision 1.8
diff -d -c -p -b -w -r1.8 ltcf-cxx.sh
*** ltcf-cxx.sh 2001/04/30 22:36:49 1.8
--- ltcf-cxx.sh 2001/07/06 15:15:02
*************** case $host_os in
*** 165,171 ****
--- 165,173 ----
# On IA64, the linker does run time linking by default, so we don't
# have to do anything special.
aix_use_runtimelinking=no
+ if test $with_gnu_ld = no; then
exp_sym_flag='-Bexport'
+ fi
no_entry_flag=""
else
# Test if we are trying to use run time linking, or normal AIX style
linking.
*************** case $host_os in
*** 189,197 ****
--- 191,201 ----
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname
$libobjs $deplibs $compiler_flags ${allow_undefined_flag}
'"\${wl}$no_entry_flag \${wl}-brtl \${wl}$exp_sym_flag:\$export_symbols"
else
if test "$host_cpu" = ia64; then
+ if test $with_gnu_ld = no; then
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
allow_undefined_flag="-z nodefs"
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname
$libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag}
'"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
+ fi
else
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
# Warning - without using the other run time loading flags, -berok
will
--
The difference between theory and practice is that there *is* a difference
between theory and practice
- [PATCH] AIX5/IA64 fixes,
Timothy Wall <=
- Re: [PATCH] AIX5/IA64 fixes, Robert Boehne, 2001/07/09
- Re: [PATCH] AIX5/IA64 fixes, Timothy Wall, 2001/07/09
- Re: [PATCH] AIX5/IA64 fixes, Robert Boehne, 2001/07/09
- Re: [PATCH] AIX5/IA64 fixes, Robert Boehne, 2001/07/09
- Re: [PATCH] AIX5/IA64 fixes, Gary V . Vaughan, 2001/07/09
- Re: [PATCH] AIX5/IA64 fixes, Timothy Wall, 2001/07/09
- Re: [PATCH] AIX5/IA64 fixes, Gary V . Vaughan, 2001/07/09