Hello, Peter!
You wrote to "Mike Gorchak" <address@hidden> on Fri, 14 May 2004 00:11:41
+0900:
??>> Hello all !
??>>
??>> I've added fixes to the libtool.m4, ltmain.in and ltdl.m4,
PO> I am sure that these patches fix something for you, but they do not
PO> look right to me. I was waiting for someone else with more knowledge of
PO> qnx to reply here, but nobody seems to want to :(
I'm forwarding your message to the Chris McKillop <address@hidden>, which is
working in QSSL, company, which produces QNX, these patches are combinations
of his and mine fixes.
PO> _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
PO> This is quite strange. -shared is a gcc link time option on all other
PO> platforms that I know of, not a compile time option.
In the 2.95.3 compiler, which is main in the QNX, this option helps to
produce correct libraries, without it in some cases compiler produces broken
library. Problem with "-shared" linker flag, passed to the compiler still
investigated, but problem still exists and this flag fixes the problem. So
it needed.
PO> + *qnx* | *nto*)
PO> When I look at config.guess I see
PO> echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
PO> and
PO> echo i386-pc-qnx
PO> As the only strings matching qnx, and it does not look like the
PO> i386-pc-qnx gets set much.
There are two completely different versions of the QNX - QNX4 and QNX6. QNX6
has a Neutrino (nto) microkernel.
PO> I am not applying this as is, what problems are you trying to fix
PO> exactly?
Heh, libtool failed to produce shared libraries without these patches.