[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [PATCH] Building ncurses on z/OS
From: |
Steven Pitman |
Subject: |
RE: [PATCH] Building ncurses on z/OS |
Date: |
Fri, 30 Oct 2020 17:38:14 +0000 |
Hi,
1) xlC/C++ 2.4.1
is based on Clang but does not have this option. This isn't the same compiler
as found on AIX, so it can't be used to test. There's some more info here:
https://www-01.ibm.com/servers/resourcelink/svc00100.nsf/pages/xlCC++V241ForZOsV24?OpenDocument
2) I've attached
a copy of config.log/config.status
3) Let me look
into this and see if I can make it work - thanks for pointing it out.
Thanks,
Steven Pitman
IBM Toronto Lab
8200 Warden Ave, Markham, Ont. L6G 1C7
From:
Thomas
Dickey <dickey@his.com>
To:
Steven
Pitman <pitman@ca.ibm.com>
Cc:
bug-ncurses@gnu.org
Date:
2020/10/28
07:09 PM
Subject:
[EXTERNAL]
Re: [PATCH] Building ncurses on z/OS
On Wed, Oct 28, 2020 at 08:00:05PM
+0000, Steven Pitman wrote:
> Hi,
>
> Building ncurses 6.2 on z/OS with IBM XL C/C++ 2.4.1 fails, and there's
a
> few changes that needed to be made to get it to compile. Here's a
quick
> description of the changes in patch that I've attached:
>
> 1) ./configure: -Qunused-args is not supported on the compiler and
will
> throw an error when used, so this patch removes it if building on
z/OS
that's in a check if the compiler is clang, and if it fails for some
other compiler, is more/less expected.
(I might be able to test-compile with AIX, to compare results -- haven't
done that since I made this change...)
> 2) ./include/MKterm.h.awk.in: The included header doesn't exist on
z/OS,
> so do not include it when compiling on this platform
...but that branch of the ifdef would be used if the machine doesn't
have termios (POSIX). It would help if I had a copy of the config.status
and config.log from configuring ncurses.
> 3) ./misc/run_tic.in: The -x flag for tic is missing, so use the version
> without it
except when cross-compiling, the build "should" be able to use
the in-tree
copy of tic for installing the terminal database.
--
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net
ftp://ftp.invisible-island.net
[attachment "signature.asc" deleted by Steven Pitman/Toronto/IBM]
config.log
Description: Binary data
config.status
Description: Binary data