Re: build pdpclib i370 programs on modern, gcc 13 with c++23 support
adriansutherland67
Perfect - thanks
|
|
Re: build pdpclib i370 programs on modern, gcc 13 with c++23 support
Jesus Antonio
Look in the build.sh script on the source code
|
|
Re: build pdpclib i370 programs on modern, gcc 13 with c++23 support
Dave Jones
Yes, I too would like to learn how to build this tool on Linux as well. Many thanks for all of your efforts, too. Great work! DJ
On Thu, May 26, 2022 at 3:38 AM adriansutherland67 <adrian@...> wrote: Do you mind providing a quick build recipe - what flags to configure a cross compiler to i370/cms
|
|
Re: build pdpclib i370 programs on modern, gcc 13 with c++23 support
adriansutherland67
Do you mind providing a quick build recipe - what flags to configure a cross compiler to i370/cms
Thks
|
|
Re: build pdpclib i370 programs on modern, gcc 13 with c++23 support
adriansutherland67
Amazing! 🍾
|
|
build pdpclib i370 programs on modern, gcc 13 with c++23 support
Jesus Antonio
Hello.
Today (well actually, yester-yesterday), I ported the i370 target that GCCMVS uses and put it onto the modern GCC codebase. https://github.com/wxwisiasdf/gcc-i370 I share this because I would think it's useful for those who want to build PDPCLIB/MVS programs and stuff. Right now it can only compile on Linux and it uses HLASM syntax, there might be some bugs I wouldn't have noticed, otherwise everything works as it should. Adios. - Jesus
|
|
Re: GCC CMS - Cross Compile
Dave Wade
Adrian, There is a pe-build cross compiler for MS Windows in the downloads. Not sure about Linux. Dave
From: hercules-380@groups.io <hercules-380@groups.io> On Behalf Of adriansutherland67
Sent: 24 May 2022 17:36 To: hercules-380@groups.io Subject: [hercules-380] GCC CMS - Cross Compile
Hello Paul and everyone!
|
|
Re: GCC CMS - Cross Compile
Paul Edwards
On Wed, May 25, 2022 at 02:46 AM, adriansutherland67 wrote:
3.4.6 was abandoned due to too many bugs and no-one to fix them Use 3.2.3
|
|
Re: question about GCC on VM/370 Community Edition V1R1.1
Paul Edwards
On Wed, May 25, 2022 at 12:21 AM, <vmdave9@gmail.com> wrote:
I'm not likely to be coming home btw Gccmvs should already do what you described out of the box The caveats on the C library remain
|
|
GCC CMS - Cross Compile
adriansutherland67
Hello Paul and everyone!
It finally happened, my CREXX project can no longer build on CMS as it is running out of memory. I can't stomach trying to get s/380 working etc. etc. (at least for the time being). So I plan to "just" build it as a cross compiler. As I understand it, this is an early stage of rebuilding GCC anyway, and the compiler emits assembler files that you assemble on the mainframe. That is all good with me. A side point is this may get us nearer to updating the GCC on CE/370 (if that has not already been done?) So the quick question - what version of GCCCMS should I use - I am assuming GCC 3.2.3 CMS 9.0 - but what about GCC 3.4.6 CMS 1.0? Was the 3.4.6 series abandoned (seems a shame)? Thanks Adrian
|
|
Re: question about GCC on VM/370 Community Edition V1R1.1
Dave Wade
Dave,
OK I am quite busy with CE so later zVM is too much work. The 370 mode code should just work as-is on zVM its just CMS user mode. The issues I had with 31 bit code were I think all to do with OS emulation in CMS The PDPCLIB library uses standard OS calls and in the last version of VM I had access to, I think ESA 4.2, the OS calls, especially the QSAM calls had not been updated to be 31-bit clean. So some parts of you program had to live in 24-bit address space. That may have changed. I have not looked for some time.
DAve
From: hercules-380@groups.io <hercules-380@groups.io> On Behalf Of vmdave9@...
Sent: 24 May 2022 15:08 To: hercules-380@groups.io Subject: Re: [hercules-380] question about GCC on VM/370 Community Edition V1R1.1
Hello, Dave.
|
|
Re: question about GCC on VM/370 Community Edition V1R1.1
Dave Jones
Hi, Paul.
What I would like to have available is the following: 1) a GCC compiler and library that runs "out-of-the-box" on a modern 31-bit CMS 2) the ability to write C programs and routines in that environment. As I mentioned in my note to Dave Wade, we have access to a modern z/VM 7.2 system here, with a lot of neat toys and tools. Down the road maybe we could look at how hard it would be to support 64-bit CMS (or zCMS as it is now called), and perhaps changing the C calling convention to be in line with z/VM calling convention, so C routines could be called directly from, say, PL/I code. Just a thought. Have a safe trip back home, too, Paul. DJ
|
|
Re: question about GCC on VM/370 Community Edition V1R1.1
Dave Jones
Hello, Dave.
Yes, I am a Dave too!! I figured that on one has done it yet....but I would certainly be more than happy to give anyone that is interested in doing this access to my z/VM 7.2 system here. I also have a lot of the neat toys available here, too, such as the z/VM C/C++ V1.3 compiler and library as well as the older C/370 stuff. Drop me a note of-list if you are interested in helping this along. Take care. DJ
|
|
Re: question about GCC on VM/370 Community Edition V1R1.1
Paul Edwards
On Tue, May 24, 2022 at 03:01 AM, <vmdave9@gmail.com> wrote:
Thank you very much.I am in the Philippines at the moment without access to my normal environment CMS 380 is not as advanced as MVS Do you need more than 16 mb of memory but less than 60 mb? If so you need the same link that the gcc module itself does From memory that is in allcms.exec which is in the gccmvs project in sourceforge If you want more than 60 mb you will need to rebuild the C library If you want less than 16 mb on 380 and more than 16 mb only on 390 then another C library should be built
|
|
Re: question about GCC on VM/370 Community Edition V1R1.1
Dave Wade
Dave, Well I assume you are a dave, I think the reason no one has answered is because no one has done it! .. and no one has done it because no one has access to zVM 7.2. .... Dave
On Mon, 23 May 2022, 19:01 , <vmdave9@...> wrote: Hello, all.
|
|
question about GCC on VM/370 Community Edition V1R1.1
Dave Jones
Hello, all.
First, let me say how impressed I am with the CE of VM/370....very nice work, all. Now I can a question....what is the best way to use GCC on the CE to compile and link a C program that runs in the so-called "S/380" mode. (or even better, how to do that for S/390, too). I want to be able to move the code over to run on "real" CMS on a real z15 processor under z/VM 7.2 I am a Texan, so short sentences with small words is best.... Thank you very much. DJ
|
|
Re: Implementing DAT
Joe Monk
No thats not right... Take a look at these slides: Joe
On Thu, Apr 14, 2022 at 6:41 PM Jesus Antonio <jesusantonio30122016@...> wrote: Hi.
|
|
Re: Implementing DAT
Jesus Antonio
Hi.
As far as I know, my code **is** using Segment Table on the ASCE - so the translation units should just be 3 (st, pt, data), but still it ends up messed? - Jesus
|
|
Re: Implementing DAT
Joe Monk
If you are using 1MB pages ... Joe
On Thu, Apr 14, 2022 at 2:45 PM Jesus Antonio <jesusantonio30122016@...> wrote: Hi.
|
|
Re: Implementing DAT
Jesus Antonio
Hi.
Done that, now how am I supposed to fill the PTE/STE entries?. I still get addressing exceptions - kind of hard to work with since there is no indication of what is wrong. - Jesus
|
|