AIX and V3
David Edelsohn
dje@watson.ibm.com
Mon Jan 22 19:25:00 GMT 2001
>>>>> 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
More information about the Gcc
mailing list