bug-ncurses
[Top][All Lists]
Advanced

[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 15:16:56 -0500

Hi,

As you mentioned for 3), which was for misc/run_tic.in, this change is not actually needed. Please ignore.

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]




reply via email to

[Prev in Thread] Current Thread [Next in Thread]