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: [patch][RFC] Filename based shared library versioning on AIX


I would like to introduce filename-based shared library versioning (known as
the "soname" in ELF world) for AIX, activated by the '--enable-aix-soname'
configure flag.

	(libgcc_s) Optional filename-based shared library versioning on AIX.
	* Makefile.in (enable_aix_soname): Define.
	* config/rs6000/t-slibgcc-aix: Implement filename-based versioning.
	* configure.in: Accept --enable-aix-soname argument.
	* configure: Recreate.

As discussed in the Bugzilla, I think this is a good feature and a
nice trick to support SVR4-like shared object naming on AIX (I think
this really is Linux/SVR4 convention, not ELF file format convention).

As you mention, this scheme is not compatible with the current shared
object naming scheme of GCC/libtool on AIX and not backward
compatible, so it definitely should not be the default.

As Joseph mentioned, these options needs to be documented, but
otherwise they are a good feature to add.

Thanks, David


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