User:Wxwisiasdf/Compile GCCMVS under MVS3.8j: Difference between revisions
User:Wxwisiasdf/Compile GCCMVS under MVS3.8j (view source)
Revision as of 05:53, 17 January 2022
, 2 years agono edit summary
mNo edit summary |
|||
Line 6:
== Preparation ==
Create a folder called `gccmvs`, this is where `pdos` and `gcc` folders should reside (see below).
Download custom.zip from PDOS.org:
* http://www.pdos.org/custom.zip
Extract gcc-stage-*.zip (* = any version, 320, 270, etc) in the `gccmvs` folder; the extraction should yield a folder named `gcc` (do not extract and make directory!)
Download PDOS and put it on your `gccmvs/` folder, so that the pdos/pdpclib can be accessed via gccmvs/pdos/pdpclib:
* https://sourceforge.net/p/pdos/gitcode/ci/master/tree/s370/
Now your `gccmvs` folder should look roughly like this:
<source lang="asm">
gccmvs/
pdos/
s370/
doit.bat
...
pdpclib/
allmvs.bat
...
src/
udi/
...
gcc/
gcc/
allmvs.bat
...
contrib/
fastjar/
...
</source>
You need an emulator for this, since MVS/380 does not run under x86, it only runs on S/390. So download the Hercules/380 emulator (it implements an S/380 to allow usage of more than 16 MiB of memory, which to be realistic is pretty cool, it won't run on realiron however (but your compiled programs should do tho)).
|