This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: AIX and V3
- To: Gabriel Dos Reis <gdr at codesourcery dot com>
- Subject: Re: AIX and V3
- From: David Edelsohn <dje at watson dot ibm dot com>
- Date: Mon, 22 Jan 2001 22:24:16 -0500
- cc: Mark Mitchell <mark at codesourcery dot com>, Benjamin Kosnik <bkoz at nabi dot net>, gcc at gcc dot gnu dot org
>>>>> 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