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]

Re: New libtool is in the GCC and Src trees.


Index: ltmain.sh
===================================================================
--- ltmain.sh (revision 125036)
+++ ltmain.sh (working copy)
@@ -4794,7 +4794,7 @@
versuffix="$major.$age.$revision"
# Darwin ld doesn't like 0 for these options...
minor_current=`expr $current + 1`
- verstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision"
+ verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"

I think this should be


${wl}-compatibility_version,$minor_current
${wl}-current_version,$minor_current.$revision

Can you try?

I think it's fine to have such a patch in GCC only (as long as it is safe with older compilers) for a short while; I agree however that in the short-to-medium term all these workarounds belong in the upstream libtool (since we want to keep it synchronized relatively often).

Paolo


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