[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ncurses 64bit AIX
From: |
Thomas Dickey |
Subject: |
Re: ncurses 64bit AIX |
Date: |
Thu, 20 May 2010 05:46:45 -0400 (EDT) |
On Thu, 20 May 2010, pcazallas wrote:
Thomas Dickey-2 wrote:
On Thu, 20 May 2010, pcazallas wrote:
Hi all,
I need to install ncurses 64 bit static library in an AIX 6 system, but I
cannot do it from the source code. Although I'm able to compile the
source
64-compat, I cannot link the lib objects correctly with ld.
Please, give me a hand with this if possible. Or tell me if it's
impossible
:-(
It should be possible - AIX C compiler's option for 64-bits appears to be
"-q64". If you're using gcc, that might be a different story, since its
per-platform support for 64-bits is "varied".
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
_______________________________________________
Bug-ncurses mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/bug-ncurses
Yes, I've tried with these both options:
-q64
-qarch=ppc64
After running the .configure script, I modify the Makefile files to change
the "ar" and "ld" commands, adding the next modifiers:
ar -X64
ld -b64
But, after compiling, the linkedition doesn't work properly and make throws
an error at the "ld" stage...
I see that the problem is that the last time I updated the CF_AR_FLAGS
macro, I did not allow for having $ARFLAGS override the macro's choice.
It needs that, since none of the common choices will work. That ends up
putting "unknown" into the substituted ARFLAGS value in the different
makefiles.
For a quick fix, I'd edit config.status after configuring, and change the
line that looks like
s,@ARFLAGS@,unknown,;t t
to
s,@ARFLAGS@,-X 64 -crv,;t t
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net