This is the mail archive of the gcc@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]

Re: AIX and V3


>>>>> Gabriel Dos Reis writes:

Gabriel> Wasn't it mentionned to just create am empty archive file in that
Gabriel> case, or am I messing up discussions?

	I do not believe so.  My conversations with Alexandre last
November were inconclusive.  He mentioned future plans to change the whole
concept of convenience libraries and a unsuccessful suggestion to try
removing -prefer-pic from the libtool invocation for that library.

	What I have been using is the following, non-portable patch to
gcc/ltmain.sh to work-around the problem for my testing:

Index: ltmain.sh
===================================================================
RCS file: /cvs/gcc/egcs/ltmain.sh,v
retrieving revision 1.10
diff -c -p -r1.10 ltmain.sh
*** ltmain.sh	2000/09/30 06:02:57	1.10
--- ltmain.sh	2001/01/23 03:23:07
*************** EOF
*** 2547,2553 ****
        fi
  
        # Now set the variables for building old libraries.
!       if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then
  	oldlibs="$oldlibs $output_objdir/$libname.$libext"
  
  	# Transform .lo files to .o files.
--- 2547,2553 ----
        fi
  
        # Now set the variables for building old libraries.
!       if test "$build_old_libs" = yes ; then
  	oldlibs="$oldlibs $output_objdir/$libname.$libext"
  
  	# Transform .lo files to .o files.
*************** $echo "Try \`$modename --help' for more 
*** 5007,5013 ****
  exit 0
  
  ### BEGIN LIBTOOL TAG CONFIG: disable-shared
! build_libtool_libs=no
  ### END LIBTOOL TAG CONFIG: disable-shared
  
  ### BEGIN LIBTOOL TAG CONFIG: disable-static
--- 5007,5014 ----
  exit 0
  
  ### BEGIN LIBTOOL TAG CONFIG: disable-shared
! build_libtool_libs=convenience
! build_old_libs=yes
  ### END LIBTOOL TAG CONFIG: disable-shared
  
  ### BEGIN LIBTOOL TAG CONFIG: disable-static


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