This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH, 3.4] AIX installation instructions update.


	This patch updates installation instructions for AIX.

David

        * doc/install.texi (*-ibm-aix*): Document assembler and achiver
        fixes required by libstdc++ and update installation instructions
        for libstdc++.a.

Index: install.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/doc/install.texi,v
retrieving revision 1.269
diff -c -p -r1.269 install.texi
*** install.texi	4 Mar 2004 04:53:59 -0000	1.269
--- install.texi	12 Mar 2004 18:40:34 -0000
*************** Assembler and Linker do not support AIX 
*** 2906,2940 ****
  The native AIX tools do interoperate with GCC@.
  
  Building @file{libstdc++.a} requires a fix for an AIX Assembler bug
! APAR IY26685 (AIX 4.3) or APAR IY25528 (AIX 5.1).
  
! @samp{libstdc++} in GCC 3.2 increments the major version number of the
  shared object and GCC installation places the @file{libstdc++.a}
! shared library in a common location which will overwrite the GCC 3.1
! version of the shared library.  Applications either need to be
! re-linked against the new shared library or the GCC 3.1 version of the
! @samp{libstdc++} shared object needs to be available to the AIX
! runtime loader.  The GCC 3.1 @samp{libstdc++.so.4} shared object can
! be installed for runtime dynamic loading using the following steps to
! set the @samp{F_LOADONLY} flag in the shared object for @emph{each}
  multilib @file{libstdc++.a} installed:
  
! Extract the shared object from each the GCC 3.1 @file{libstdc++.a}
! archive:
  @smallexample
!    % ar -x libstdc++.a libstdc++.so.4
  @end smallexample
  
  Enable the @samp{F_LOADONLY} flag so that the shared object will be
  available for runtime dynamic loading, but not linking:
  @smallexample
!    % strip -e libstdc++.so.4
  @end smallexample
  
! Archive the runtime-only shared object in the GCC 3.2
  @file{libstdc++.a} archive:
  @smallexample
!    % ar -q libstdc++.a libstdc++.so.4
  @end smallexample
  
  Linking executables and shared libraries may produce warnings of
--- 2906,2943 ----
  The native AIX tools do interoperate with GCC@.
  
  Building @file{libstdc++.a} requires a fix for an AIX Assembler bug
! APAR IY26685 (AIX 4.3) or APAR IY25528 (AIX 5.1).  It also requires a
! fix for another AIX Assembler bug and a co-dependent AIX Archiver fix
! referenced as APAR IY53606 (AIX 5.2) or a APAR TBD (AIX 5.1)
  
! @samp{libstdc++} in GCC 3.4 increments the major version number of the
  shared object and GCC installation places the @file{libstdc++.a}
! shared library in a common location which will overwrite the and GCC
! 3.3 version of the shared library.  Applications either need to be
! re-linked against the new shared library or the GCC 3.1 and GCC 3.3
! versions of the @samp{libstdc++} shared object needs to be available
! to the AIX runtime loader.  The GCC 3.1 @samp{libstdc++.so.4}, if
! present, and GCC 3.3 @samp{libstdc++.so.5} shared objects can be
! installed for runtime dynamic loading using the following steps to set
! the @samp{F_LOADONLY} flag in the shared object for @emph{each}
  multilib @file{libstdc++.a} installed:
  
! Extract the shared objects from the currently installed
! @file{libstdc++.a} archive:
  @smallexample
!    % ar -x libstdc++.a libstdc++.so.4 libstdc++.so.5
  @end smallexample
  
  Enable the @samp{F_LOADONLY} flag so that the shared object will be
  available for runtime dynamic loading, but not linking:
  @smallexample
!    % strip -e libstdc++.so.4 libstdc++.so.5
  @end smallexample
  
! Archive the runtime-only shared object in the GCC 3.4
  @file{libstdc++.a} archive:
  @smallexample
!    % ar -q libstdc++.a libstdc++.so.4 libstdc++.so.5
  @end smallexample
  
  Linking executables and shared libraries may produce warnings of


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]