Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to be sure using LynxOS thread safe libs?

15 views
Skip to first unread message

jmd...@yahoo.com

unread,
Mar 19, 2009, 1:40:18 AM3/19/09
to
I am using the Linux hosted cross-compiler for LynxOS 4.2.0 and
specifying "g++ -mthreads" when compiling.

I want to be sure I am linking with the thread safe libraries.

Linux provides ldd which will show you the libraries used in your
executable.

Is there a command that will do this for a LynxOS executable?

stef

unread,
Mar 19, 2009, 11:31:11 AM3/19/09
to
linking with -mthreads is compulsary also.
this insured the multi threaded library path (ie /lib/thread/) is
used

an equivalent to ldd -s elflook -L (see man elflook)
note this works onl;y fore shared lib.

Stephane

0 new messages