[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Building ncurses on z/OS
From: |
Thomas Dickey |
Subject: |
Re: [PATCH] Building ncurses on z/OS |
Date: |
Wed, 28 Oct 2020 19:07:02 -0400 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
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
signature.asc
Description: PGP signature