Since Alan mentions other C implementations for CMS, I shall take the
liberty of mentioning
https://github.com/jphartmann/cmslib-exec
refer to gcc390.pdf to see a description of how to cross-compile for CMS.
The pipeline support for bfs does indeed use the BPX callable services.
I had that support long before OpenExtensions were released as the
built-in programs were written for MVS.
The Dignus compiler seems dead, even if google will tell you about it.
On 08/27/2017 07:28 AM, Alan Altmark wrote:
On Saturday, 08/26/2017 at 09:51 GMT, Paul Gilmartin
<[email protected]> wrote:
On 2017-08-26, at 12:54, Donald Russell wrote:
Assembler will be my only choice since we cancelled our VM C compiler
license. :-(. Too bad, might have been easier to port the zLinux FTP
client
and make it pipe-aware.
Would that be under OpenExtensions? What about GCC?
Unlike z/OS, the POSIX environment in CMS is integrated; it's not a
separate subsystem. With an appropriate stage, the PIPE command can get
to any part of CMS. Specifically, those stages can call the BPX1 CSLs to
do whatever you want.
Google is your friend. There appears to be a gcc port (gccmvs) that works
on CMS. There is also a C compiler available from Dignus.
Are there Pipelines drivers for POSIX sockets?
What do you mean by "POSIX sockets"? If you mean AF_UNIX, then no, I
don't think anyone has written anything for them. If you mean AF_INET,
then see TCPCLIENT and TCPLISTEN.
The 'storage' stage in Pipes can also access memory directly.
Alan Altmark
Senior Managing z/VM and Linux Consultant
IBM Systems Lab Services
IBM Z Delivery Practice
ibm.com/systems/services/labservices
office: 607.429.3323
mobile; 607.321.7556
[email protected]
IBM Endicott