Hi.
I am trying to make shared library on AIX in 64-mode.
In configure.ac i usually use this kind of code
aix*)
if test "x$enable_64" = "xyes";then
CMN_FLAGS="$CMN_FLAGS -q64"
else
CMN_FLAGS="$CMN_FLAGS -q32"
fi;;
esac
CFLAGS="$CFLAGS $CMN_FLAGS"
CXXFLAGS="$CXXFLAGS $CMN_FLAGS "
But in linking the library i get an error from tool "ar" that you need to use
-X options.
I add this line which resolve the problem
AR_FLAGS="-X 64 $AR_FLAGS"
But if I add the c++ code and other tools for linking will be used i have
problem with linking too.
I think that using AR_FLAGS to resolve given problem may be not "good"
decision.
The question is how to do it "right" way?
--
______________________________________________________________
С уважением, Анатолий Беляев
специалист ООО "Крипто-Про"
WWW: www.cryptopro.ru
Mail: [EMAIL PROTECTED]
_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool