On Wed, 15 Apr 2020, 易会战 via Gcc wrote: > I am trying to add a library into gcc source code tree. The gcc source > have used libtool 2.2.7a 1.1334. but I cannot find the version.
It is "libtool (GNU libtool 1.3134 2009-11-30) 2.2.7a" AFAICT, that is 1.3134 rather than 1.1334. I take it there has been a typo there. > So after runing autoreconf and make , I get "libtool: > Version mismatch error.".It is a curious version, the gnu > mirrors have no such version. It is a repository snapshot, there has been no such release. For 1.3134 you need to check out commit 2c9c38d8a12e ("Please C++ compilers when calling strrchr.") from the libtool Git repository. FWIW I think it would be good having a tarball of this snapshot, preferably made with `make dist' so that all the generated pieces are there, hosted somewhere, such as <ftp://sourceware.org/> or maybe <ftp://alpha.gnu.org/> (there might be a better place). Moving on to an actual libtool release, preferably less than 10 years old, would I think be a viable alternative too. HTH, Maciej