1)I didn't give any preference to aix-cc; I just changed in config script the default CC=gcc to CC=cc for AIX case only. That is, if config script assigned the default compiler as aix43-gcc (as it does on our AIX machine), it will now assign aix43-cc because the prefix was not touched. Therefore, we should not worry much that an obsolete compiler will be assigned.
2)I just tested -bautoexp flag as you asked; it works for aix43-cc. I will have yet to see how it links with C++ modules although I expect it to be working. But if you think -bautoexp flag is not supported by some older compilers, it is better to leave it with *.exp. 3)My understanding is that our AIX machine should support 64 bits, at least static libraries libssl.a & libcrypto.a were built but aix-shared target failed. So, it there is a correct line in the Makefile for aix64-cc, I hope it will build shared libraries. 4)I have copied my original message to [EMAIL PROTECTED] and was assigned a bug number; I don't know if it was necessary. Thank you very much for your attention, Vladimir -----Original Message----- From: Andy Polyakov via RT [mailto:[EMAIL PROTECTED]] Sent: Friday, January 17, 2003 4:27 PM To: Shklover, Vladimir Cc: [EMAIL PROTECTED] Subject: Re: [openssl.org #463] PATCH > Current version, > openssl-0.9.7, does not support shared libraries on AIX platform. To <openssl-dev> mainly. How come did do_aix-shared deserve so special treatment? I mean SHAREDFLAGS being hardcoded directly in Makefile.org? Just wondering... > I am sending you the changes > which allow to generate shared libraries for some cc compilers on AIX, namely, >"aix-cc" What's the idea behind "aix-cc?" It's a safety net for out-of-date AIX releases, which noone cared to test for a long time and probably never will. If you just tested both aix-cc and aix43-cc on the same machine, then we should refrain from modifying the aix-cc. Alternative is to rename aix-cc to aix-old-cc and aix43-cc to aix-cc and leave aix-old-cc alone... > and "aix43-cc". Could you test following? In a tree with proposed patch applied! Open Makefile.ssl with text editor, seek to do_aix-shared rule, modify "SHAREDFLAGS=${SHARED_LDFLAGS} -G -bE:lib$$i.exp -bM:SRE" above the rule as "SHAREDFLAGS=${SHARED_LDFLAGS} -G -bautoexp -bM:SRE". Finaly 'make clean' and 'make'. Does it build? I want to see if it's possible to get rid of that extra step which generates .exp file... > These changes are not made for "aix64-cc", But do you have acces to an AIX workstation which supports 64-bit ABI? I mean in case an alternative line is proposed will you be able to test it? Do you know if AIX cc supports inline assembler? A. ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]