470,832 Members | 2,075 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,832 developers. It's quick & easy.

Shared Objects on AIX

I am compiling product code on AIX 5.3 . There is a Trace funtion which
has been exported from from of the shared objects and is intended to be
imported in all other shared objects.
The compiler options are as below:

COMPILE_OPTIONS ?= -qtbtable=full -q32 -O2 -qthreaded -qcpluscmt
-bM:SRE -bnoent
ry -bnoexpall -bnoautoexp -qtempinc -qstaticinline -D_ALL_SOURCE
-D_XOPEN_SOURC
E_EXTENDED -D_REENTRANT -qrtti=dyna -qfuncsect -D_POSIX_SOURCE -DUNIX
-DAIX -D__
MULTI__ -bI:/usr/x000/sb/src/api/c/rios_aix_4/test.imp

Linker opotions are

SHLDFLAGS += -qmkshrobj $(COMPILE_OPTIONS) -bautoimp
-blibpath:$(RUNTIME_
LIBPATH)
what is happening is , this Trace funtion appears as EXP in all the lib
files . ( dump -Tv output) . We need it to appear as IMP in all libs
and EXP in one. By the way this function is inlined.
We have tried using "import" file ( as listed in the compiler options
and other combinations of -b:E and -b:I options but nothing seems to
be working..

Any ideas?

May 12 '06 #1
2 1638
kedar kulkarni wrote:
I am compiling product code on AIX 5.3


http://www.parashift.com/c++-faq-lit...t.html#faq-5.9
Jonathan

May 12 '06 #2
Jonathan Mcdougall wrote:
http://www.parashift.com/c++-faq-lit...t.html#faq-5.9


I honestly appreciate the effort required to keep a supply of FAQ URLs on
hand, but...

....the FAQ recommends verbiage around them to the effect that checking with
the FAQ before posting is always good, and such.

Every little bit increases the odds folks start using USENET correctly
instead of flamefully. ;-)

--
Phlip
http://c2.com/cgi/wiki?ZeekLand <-- NOT a blog!!!
May 12 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by pramod | last post: by
1 post views Thread by myren, lord | last post: by
14 posts views Thread by phil_gg04 | last post: by
1 post views Thread by Eduardo Azevedo | last post: by
1 post views Thread by Henri | last post: by
11 posts views Thread by tshad | last post: by
15 posts views Thread by Rob Nicholson | last post: by
14 posts views Thread by Joe Fallon | last post: by
5 posts views Thread by Simon | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.