Hmm... In 0.9.7-dev, there's an AIX variant that does what you do,
but in a slightly different way:
ALLSYMSFLAG=-bnogc
SHAREDFLAGS=-G -bE:lib$$i.exp -bM:SRE
SHAREDCMD=$(CC)
do_aix-shared:
libs='-L. ${SHLIBDEPS}'; for i in ${SHLIBDIRS}; do \
( set -x; \
ld -r -o $$i.o $(ALLSYMSFLAG) lib$$i.a && \
( nm -Pg lib$$i.o | grep ' [BD] ' | cut -f1 -d' ' >
lib$$i.exp; \
$(SHAREDCMD) $(SHAREDFLAG) -o lib$$i.so lib$$i.o \
$$libs ${EX_LIBS} ) ) \
|| exit 1; \
libs="$$libs -l$$i"; \
done
Please note the 'ld -r'. That's apparently the way to build one giant
.o file from a library or a number of smaller .o files.
I'm still trying to experiment with the above method on other
platforms to see if that's a way that would work everywhere (if you
fetch a recent snapshot, you'll see a huge comment that suggests what
values ALLSYMSFLAGS, SHAREDCMD and SHAREDFLAGS could have on those
platforms.
If the above method works on Fujitsu, perhaps you could share with us
what values those three variables should have?
Thank you.
Note: I'm gonna be on vacation starting monday for about 3 weeks, and
will not do much OpenSSL-related stuff, so take your time :-).
--
Richard Levitte \ Spannv�gen 38, II \ [EMAIL PROTECTED]
Redakteur@Stacken \ S-168 35 BROMMA \ T: +46-8-26 52 47
\ SWEDEN \ or +46-733-72 88 11
Procurator Odiosus Ex Infernis -- [EMAIL PROTECTED]
Member of the OpenSSL development team: http://www.openssl.org/
Software Engineer, GemPlus: http://www.gemplus.com/
Unsolicited commercial email is subject to an archival fee of $400.
See <http://www.stacken.kth.se/~levitte/mail/> for more info.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]
Re: [PATCH] openssl shared libraries under Fujitsu-Siemens ReliantUNIX
Richard Levitte - VMS Whacker Sat, 18 Aug 2001 03:11:56 -0700
