[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: QNX6 related fixes for the libtool

From: Peter O'Gorman
Subject: Re: QNX6 related fixes for the libtool
Date: Fri, 14 May 2004 21:44:03 +0900
User-agent: Mozilla Thunderbird 0.5+ (Macintosh/20040224)

Mike Gorchak wrote:
Hello, Peter!
You wrote to "Mike Gorchak" <address@hidden> on Fri, 14 May 2004 00:11:41

 ??>> Hello all !
 ??>> I've added fixes to the libtool.m4, 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.

Fair enough then. I'll buy that.

 PO> +    *qnx* | *nto*)
 PO> When I look at config.guess I see
 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.

Okay, so the same commands are needed to build on QNX4 and QNX6?

On another point, this is the wrong place to set deplibs_check_method

+        qnx)
+          major=".$current"
+          versuffix=".$current"
+          deplibs_check_method="pass_all"
+          ;;

Please put it in libtool.m4 where it belongs.

Clean it up and resubmit, please submit patches for head and branch-1-5 if you can.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]