Hi Piotr. Thanks for your feedback. Glad you got it working in the end. Note that using PDPCLIB is optional – you can use any C runtime library, and any C compiler. That’s just what I use, and the only thing that actually gets tested. However if you wish to build MVS etc programs, you have no real choice – you need to use PDPCLIB when you get there. I’m happy to replace the current compile (which I never use) with yours. Or your makefile. It would be good if the makefile worked with pdmake (a fairly...
The previous problem was because I didn't change all nul words using vi: %s/ nul / \/dev\/null /g but some nul words are followed by tab char so I have to change also like this: %s/ nul\t/ \dev\/null\t/g Additionally patch file is in MS-DOS format (CRLF in the end of line) and shoud be converted to Unix before use. After this I've received all patched files, also not-existent as gccmvs.txt and compile. You wrote that on the same level like gcc should be also pdos/pdpclib but readme lacks information...
Ok, the instructions I provide (in gccmvs.txt) are to run “compile” not “configure”. In addition, I’ve never attempted to target opened. In addition, I’ve only used 32-bit compilers, and much older versions of gcc. It might be worth building an 80386 version of gcc 3.2.3 before using that to build a s370 version of gcc 3.2.3. I do almost all of my 80386 work with gcc 3.2.3, because that is more-or-less the only option for s370 and I want my software to work on both environments. Anyway, I took a...
So I've downloaded patch file pointed by you, changed null to /dev/null and I've patched gcc source code (unpacked from gcc-3.2.3.tar.gz). Next i made: ./configure --target=i370-ibm-opened make and receive an error: make[1]: *** [Makefile:649: cp/decl.o] Error 1 make[1]: Leaving directory '/home/nome/projects/gcc-3.2.3/gcc' make: *** [Makefile:1604: all-gcc] Error 2 what is done by: cp/decl.c:13667:7: note: in expansion of macro ‘DECL_MAYBE_IN_CHARGE_CONSTRUCTOR_P’ if (DECL_MAYBE_IN_CHARGE_CONSTRUCTOR_P...
So I've downloaded patch file pointed by you, changed null to /dev/null and I've patched gcc source code (unpacked from gcc-3.2.3.tar.gz). Next i made: ./configure --target=i370-ibm-opened make and receive an error: make[1]: *** [Makefile:649: cp/decl.o] Error 1 make[1]: Leaving directory '/home/nome/projects/gcc-3.2.3/gcc' make: *** [Makefile:1604: all-gcc] Error 2 what is done by: cp/decl.c:13667:7: note: in expansion of macro ‘DECL_MAYBE_IN_CHARGE_CONSTRUCTOR_P’ if (DECL_MAYBE_IN_CHARGE_CONSTRUCTOR_P...
Hi Piotr. I agree, it’s not that easy to find. Not many people actually want it though, and those who do just get it pre-installed as part of MVS/380. Anyway, if you go here: https://sourceforge.net/projects/gccmvs/files/GCCMVS/GCC%203.2.3%20MVS%209.0/ The last one has what you need (if you continue going that route). Also note that when you apply the patch, you will need to change the “NUL” to “/dev/null”. I only found out after release that CVS had started changing that for some reason. You can...
I don't understant, sorry. You wrote about gccmvs.txt but where? I've browsed files in project and don't see source code. In GCCCMS is binary version for VM, in GCCMVS binary version for MVS (xmit) and windows (exe). Inside zip files are readme files but nowhere I see compiler source code and compile script. Am I blind? Should I go to gcc site and download version 3.2? I want to build cross-compiler for 370 architectire to create standalone programs (f.ex. to work in VM without CMS). For 390 current...
The instructions are in gccmvs.txt and say to run “compile”. There is a script called “compile” in that directory. Note that there is a “README” in the top level of the source that points to gccmvs.txt (for people interested in MVS). BFN. Paul. From: nutilius Sent: Monday, May 24, 2021 9:49 PM To: [gccmvs:discussion] Subject: [gccmvs:discussion] Where is the source located? Did you build the cross-compiler on Linux? I'm looking for the instruction how to build gcc for s370 as the cross-compiler on...
Did you build the cross-compiler on Linux? I'm looking for the instruction how to build gcc for s370 as the cross-compiler on Linux. Can you help?
I have found the sources in the meantime. At least I think so. They are in the download in the huge patch file, right?
I would like to build linux and mac versions of the latest gccmvs. But I'm not able to find the source. Regards Mike