Re: Slightly off-topic: development machine for z/OS wanted

"kerravon86-/[email protected] [H390-MVS]" <[email protected]> 12 Oct 2019 22:55:00 +0000
Newsgroups gmane.comp.emulators.hercules390.mvs
Message-ID <[email protected]>
---In [email protected], <bumens@...> wrote :

> Unfortunately, the C standard is not sufficient for
> implementing many programs even in C17.

Can we discuss this? What is it that you wish
to do that can't be done with C17? You will
find that those things, such as doing a
chmod to 664 of a file, don't actually exist
on MVS (and other non-Unix systems).

> If real world programs should be ported to MVS
> then such an API has to be provided or it will
> most likely not happen.

I have already ported such things as GCC, sed,
diffutils, and there is not a lot that needs to be
changed. In some cases what I did was
provide dummy functions, e.g. a chmod that
does nothing.

>> For some reason with TK4- you can't use TSO
>> while running a 31-bit batch job.

> Does this mean I've to stop TSO before I can run
> a batch job, and I have to run it from console?

You don't need to stop TSO, but at some point
your TSO session may crash.

> My problem is I'm not experienced in MVS. I know
> basic system programming there,

That's fine. I can help with that.

> that's it. Which way is the easiest to get MVS/380
> running in Hercules? I'm depending on solutions
> like TK4- because they're turn key.

MVS/380 is also turnkey if you install the
ready-made environment, and also comes
with some scripts that allow you to do
builds on MVS without having to use TSO
at all if you don't want to. I rarely log on
to TSO. When I'm working on a project
like "sed", I just type in "allmvs" at the
Windows command prompt, and it zips
up all my C source code, sends it to MVS,
builds it, then returns the output as a
text file that I then edit using micro-emacs.

But if you prefer TSO, that works fine too.

And remember that MVS/380 has the latest
GCCMVS installed too. It's less than 2
weeks old and produces 31-bit programs
(that can be executed as AM24 or AM32
as well as AM31) instead of 24-bit. MVS/380
can be downloaded from here:

https://sourceforge.net/projects/mvs380/files/mvs380/MVS_380%202.0/mvs380-2_0.zip/download

and you will also need Hercules/380 in your path,
which is available here:

https://sourceforge.net/projects/mvs380/files/hercules380/Hercules-380%20v3.07-5.0/

I provide executables for Windows. Other systems
need to be compiled using the provided source
code patch.

BFN. Paul.