4 Aug 2002 20:55
Please help with OSR5 port?
Kean Johnston <jkj <at> armory.com>
2002-08-04 18:55:38 GMT
2002-08-04 18:55:38 GMT
Hello, I am trying to get libtool to work propperly (as defined by me(Continue reading)) on SCO OpenServer. Even with the latest version out of CVS, there are still some make check failures (mdemo-exec, mdemo-inst, tagdemo-exec etc). On top of that, for 5.0.7, I have dramatically changed the link editor and RTLD to be the same as on OpenUNIX 8. However, even that systems libtool configuration is, I believe, a little wrong. So, what I will do here is describe the characteristics of ld and the RTLD, the compiler options used to create shared libraries, and how I'd like to see things end up. Hopefully then, someone on this list with more experience of the twisty maze of libtool variables can help me set things up correctly. Note that although I believe the same strategy should apply to OpenUNIX 8, please lets focus on OpenServer, as thats what I have an immediate need to get working. I can fuss with OU8 later. Please also note that things as described here refer to the as-yet-unreleased SCO OpenServer 5.0.7. But all of these characteristics will be available on previous releases, via a supplement. Having just said that though, the scheme I propose wont matter a jot, it doesnt rely on the new RTLD or ld characteristics. But they are defined here for your reference. ELF Link Editor (ld) characteristics: ld -R path Inserts PATH as a DT_RUNPATH entry in either a shared library or an ELF executable. PATH can be a colon-separated list of directories. See RTLD characteristics below to see how DT_RUNPATH is used. ld -h path Inserts PATH as an SONAME entry in a shared library. PATH is a single
) on
SCO OpenServer. Even with the latest version out of CVS, there are
still some make check failures (mdemo-exec, mdemo-inst, tagdemo-exec etc).
On top of that, for 5.0.7, I have dramatically changed the link editor and
RTLD to be the same as on OpenUNIX 8. However, even that systems libtool
configuration is, I believe, a little wrong. So, what I will do here
is describe the characteristics of ld and the RTLD, the compiler options
used to create shared libraries, and how I'd like to see things end up.
Hopefully then, someone on this list with more experience of the twisty
maze of libtool variables can help me set things up correctly. Note that
although I believe the same strategy should apply to OpenUNIX 8, please
lets focus on OpenServer, as thats what I have an immediate need to get
working. I can fuss with OU8 later.
Please also note that things as described here refer to the as-yet-unreleased
SCO OpenServer 5.0.7. But all of these characteristics will be available on
previous releases, via a supplement. Having just said that though, the
scheme I propose wont matter a jot, it doesnt rely on the new RTLD or ld
characteristics. But they are defined here for your reference.
ELF Link Editor (ld) characteristics:
ld -R path
Inserts PATH as a DT_RUNPATH entry in either a shared library or an
ELF executable. PATH can be a colon-separated list of directories.
See RTLD characteristics below to see how DT_RUNPATH is used.
ld -h path
Inserts PATH as an SONAME entry in a shared library. PATH is a single
RSS Feed