¿ªÔÆÌåÓý


Attachments

 

Folks,

I have disabled attachments as GMAIL seems to block anything any one attaches.
If you want to distribute files please use the files section on the groups.io web site. Create a folder and store the files in it.
There is also a photos section for your pictures.

Thanks,

Dave
G4UGM


Re: GCC EXEC on S-disk, but Not On Any Other Minidisk? #VMCE

 

I think that is correct. I can't remember if I did anything special for "sys" when I tweaked the code for "sys". Let me have a look.

By the way GMAIL seems to block this. Might be better to upload files to the group files store.

I think Paul also ported DIFF and PATCH so you don't have to use sequence numbers for "C" programs.

Dave


On Thu, Dec 9, 2021 at 07:53 PM, Mark A. Stevens wrote:


On Tue, Dec 7, 2021 at 11:44 AM, Dave Wade wrote:


Which file do you need? Always prepared to have look
Now here's someone just asking for pain :-D

Within the attached file, zlib-1.2.11.tar.gz, is the program, adler32.c, which
I am trying to compile, using GCCLIB. Screen scraping is in adler32.listing.

I found /usr/include/sys/types.h and added it to minidisk accessed as C.

No clue why I'm getting the following error:
OPEN ERROR CODE '04' ON 'PDP001HD'.

For this one:
types.h:25:22: features.h: An error has occurred

I am guessing that it is complaining about not finding the sys directory. I
can remove this, and make it read # define "types.h" but that means I'm
altering the original code, which bothers me no end. That takes me to XCOMPARE
and trying to create CNTRL and AUX files, for a language that has no
understanding of sequence numbers. Yuck.

File: ZCONF??? H??????? C1? RECFM: F LRECL:? 80(80) Lines:?? 534
Current:?? 440

....+....1....+....2....+....3....+....4....+....5....+....6....+....7....
+....8
===== #endif

=====

===== #ifdef STDC

===== #? ifndef Z_SOLO

===== #??? include <sys/types.h>????? /* for off_t */

===== #? endif

===== #endif

For the following error:
types.h:47: syntax error before "typedef"
types.h:47: ISO C forbids data definition with no type or storage class

File: TYPES??? H??????? C1? RECFM: F LRECL:? 80(80) Lines:?? 232
Current:??? 45

....+....1....+....2....+....3....+....4....+....5....+....6....+....7....
+....8
===== #ifndef __ino_t_defined

===== # ifndef __USE_FILE_OFFSET64

===== typedef __ino_t ino_t;

===== # else

===== typedef __ino64_t ino_t;

===== # endif

I believe it is complaining that ino_t is not defined, prior to being defined
as itself. I discovered that it is supposed to be of type inode, but that
definition escapes me so far. I know what it should be, in that it is a block
of data in a Unix filesystem, but its definition, size, & structure, I have
not found.

I haven't gotten beyond, this, yet. I also realize this isn't directly related
to VM/370 CE, so if we need to continue this elsewhere, let me know.

... Mark S.
On Thu, Dec 9, 2021 at 07:53 PM, Mark A. Stevens wrote:


On Tue, Dec 7, 2021 at 11:44 AM, Dave Wade wrote:


Which file do you need? Always prepared to have look
Now here's someone just asking for pain :-D

Within the attached file, zlib-1.2.11.tar.gz, is the program, adler32.c, which
I am trying to compile, using GCCLIB. Screen scraping is in adler32.listing.

I found /usr/include/sys/types.h and added it to minidisk accessed as C.

No clue why I'm getting the following error:
OPEN ERROR CODE '04' ON 'PDP001HD'.

For this one:
types.h:25:22: features.h: An error has occurred

I am guessing that it is complaining about not finding the sys directory. I
can remove this, and make it read # define "types.h" but that means I'm
altering the original code, which bothers me no end. That takes me to XCOMPARE
and trying to create CNTRL and AUX files, for a language that has no
understanding of sequence numbers. Yuck.

File: ZCONF??? H??????? C1? RECFM: F LRECL:? 80(80) Lines:?? 534
Current:?? 440

....+....1....+....2....+....3....+....4....+....5....+....6....+....7....
+....8
===== #endif

=====

===== #ifdef STDC

===== #? ifndef Z_SOLO

===== #??? include <sys/types.h>????? /* for off_t */

===== #? endif

===== #endif

For the following error:
types.h:47: syntax error before "typedef"
types.h:47: ISO C forbids data definition with no type or storage class

File: TYPES??? H??????? C1? RECFM: F LRECL:? 80(80) Lines:?? 232
Current:??? 45

....+....1....+....2....+....3....+....4....+....5....+....6....+....7....
+....8
===== #ifndef __ino_t_defined

===== # ifndef __USE_FILE_OFFSET64

===== typedef __ino_t ino_t;

===== # else

===== typedef __ino64_t ino_t;

===== # endif

I believe it is complaining that ino_t is not defined, prior to being defined
as itself. I discovered that it is supposed to be of type inode, but that
definition escapes me so far. I know what it should be, in that it is a block
of data in a Unix filesystem, but its definition, size, & structure, I have
not found.

I haven't gotten beyond, this, yet. I also realize this isn't directly related
to VM/370 CE, so if we need to continue this elsewhere, let me know.

... Mark S.


Re: GCC EXEC on S-disk, but Not On Any Other Minidisk? #VMCE

 

On Tue, Dec 7, 2021 at 11:44 AM, Dave Wade wrote:
Which file do you need? Always prepared to have look
Now here's someone just asking for pain :-D

Within the attached file, zlib-1.2.11.tar.gz, is the program, adler32.c, which I am trying to compile, using GCCLIB. Screen scraping is in adler32.listing.

I found /usr/include/sys/types.h and added it to minidisk accessed as C.


No clue why I'm getting the following error:
OPEN ERROR CODE '04' ON 'PDP001HD'.

For this one:
types.h:25:22: features.h: An error has occurred

I am guessing that it is complaining about not finding the sys directory. I can remove this, and make it read # define "types.h" but that means I'm altering the original code, which bothers me no end. That takes me to XCOMPARE and trying to create CNTRL and AUX files, for a language that has no understanding of sequence numbers. Yuck.

File: ZCONF??? H??????? C1? RECFM: F LRECL:? 80(80) Lines:?? 534 Current:?? 440

????? ....+....1....+....2....+....3....+....4....+....5....+....6....+....7....
+....8
===== #endif?????????????????????????????????????????????????????????????????? ?
???? ?
=====????????????????????????????????????????????????????????????????????????? ?
???? ?
===== #ifdef STDC????????????????????????????????????????????????????????????? ?
???? ?
===== #? ifndef Z_SOLO???????????????????????????????????????????????????????? ?
???? ?
===== #??? include <sys/types.h>????? /* for off_t */????????????????????????? ?
???? ?
===== #? endif???????????????????????????????????????????????????????????????? ?
???? ?
===== #endif?????????????????????????????????????????????????????????????????? ?
?????
For the following error:
types.h:47: syntax error before "typedef"
types.h:47: ISO C forbids data definition with no type or storage class

File: TYPES??? H??????? C1? RECFM: F LRECL:? 80(80) Lines:?? 232 Current:??? 45

????? ....+....1....+....2....+....3....+....4....+....5....+....6....+....7....
+....8
===== #ifndef __ino_t_defined????????????????????????????????????????????????? ?
???? ?
===== # ifndef __USE_FILE_OFFSET64???????????????????????????????????????????? ?
???? ?
===== typedef __ino_t ino_t;?????????????????????????????????????????????????? ?
???? ?
===== # else?????????????????????????????????????????????????????????????????? ?
???? ?
===== typedef __ino64_t ino_t;???????????????????????????????????????????????? ?
???? ?
===== # endif????????????????????????????????????????????????????????????????? ?
?????
I believe it is complaining that ino_t is not defined, prior to being defined as itself. I discovered that it is supposed to be of type inode, but that definition escapes me so far. I know what it should be, in that it is a block of data in a Unix filesystem, but its definition, size, & structure, I have not found.

I haven't gotten beyond, this, yet. I also realize this isn't directly related to VM/370 CE, so if we need to continue this elsewhere, let me know.

?... Mark S.


Re: vm370 Load command in exec file

 

I went with your suggestion of TXTLIB concept and it worked great!!!!
Thank you so much.

Bob B, thank your for plan b, will keep it on file.

Again Thank you for the responses...? Moving forward.

Cheers
Tom c


On Wed, Dec 8, 2021 at 5:17 PM Jean-Pierre Cabani¨¦ <jean-pierre@...> wrote:
Quick and dirty : create a TXTLIB with 13 parts and then use it in your
GLOBAL before loading the last one and issue the genmod command

Other way would be to use a variable to hold the sequence of names and
then issue LOAD &ALLNAMES. Not sure it will work...

Good luck

Jean-Pierre

Le 09/12/2021 ¨¤ 00:06, Tom Chandler a ¨¦crit?:
> Most likely really dumb question, but I have a LOAD command that has14
> modules to load before
> I do a GENMOD.? It appears after col 72, the system drops the
> remaining names.
>
> Is there a way to have a "continuation" when using the load command in
> an exec file.
>
> Thank You
> Tom c.









Re: vm370 Load command in exec file

 

LOAD NAME1
INCLUDE NAME2
INCLUDE NAME3
INCLUDE NAME4
----
GENMOD MYMOD

I will never be able to type on a phone.

On Wed, Dec 8, 2021, 7:37 PM Bob Bolch via <Bob=[email protected]> wrote:
What I use is:
LOAD NAME
INCLUDE NAME2
INCLUDE NAME
Etc---------
GENMOD MYMOD

On Wed, Dec 8, 2021, 6:06 PM Tom Chandler <tchandler48@...> wrote:
Most likely really dumb question, but I have a LOAD command that has14 modules to load before
I do a GENMOD.? It appears after col 72, the system drops the remaining names.

Is there a way to have a "continuation" when using the load command in an exec file.

Thank You
Tom c.


Re: vm370 Load command in exec file

 

What I use is:
LOAD NAME
INCLUDE NAME2
INCLUDE NAME
Etc---------
GENMOD MYMOD

On Wed, Dec 8, 2021, 6:06 PM Tom Chandler <tchandler48@...> wrote:
Most likely really dumb question, but I have a LOAD command that has14 modules to load before
I do a GENMOD.? It appears after col 72, the system drops the remaining names.

Is there a way to have a "continuation" when using the load command in an exec file.

Thank You
Tom c.


Re: vm370 Load command in exec file

 

Quick and dirty : create a TXTLIB with 13 parts and then use it in your GLOBAL before loading the last one and issue the genmod command

Other way would be to use a variable to hold the sequence of names and then issue LOAD &ALLNAMES. Not sure it will work...

Good luck

Jean-Pierre

Le 09/12/2021 ¨¤ 00:06, Tom Chandler a ¨¦crit?:
Most likely really dumb question, but I have a LOAD command that has14 modules to load before
I do a GENMOD.? It appears after col 72, the system drops the remaining names.

Is there a way to have a "continuation" when using the load command in an exec file.

Thank You
Tom c.


vm370 Load command in exec file

 

Most likely really dumb question, but I have a LOAD command that has14 modules to load before
I do a GENMOD.? It appears after col 72, the system drops the remaining names.

Is there a way to have a "continuation" when using the load command in an exec file.

Thank You
Tom c.


Re: Visual studio 2022

 

Thanks...


Re: GCC EXEC on S-disk, but Not On Any Other Minidisk? #VMCE

 

¿ªÔÆÌåÓý

Mark,

Which file do you need? Always prepared to have look

Dave

?

From: [email protected] <[email protected]> On Behalf Of Mark A. Stevens via groups.io
Sent: 07 December 2021 17:36
To: [email protected]
Subject: Re: [h390-vm] GCC EXEC on S-disk, but Not On Any Other Minidisk? #VMCE

?

On Tue, Dec 7, 2021 at 11:06 AM, Bob Bolch wrote:

Compile a C program that includes something from this disk, with the CMS option, and you will see that the include files are processed.

Bob,

I am missing a header, which started this entire journey. Plus side, I know more than I started with. Minus side, I need to port the missing header file to CMS.

Thank you!

?... Mark S.


Re: GCC EXEC on S-disk, but Not On Any Other Minidisk? #VMCE

 

On Tue, Dec 7, 2021 at 11:05 AM, Dave Wade wrote:

The CMS headers are the ones on GCCCMS 202 disk. These are what are used when you compile something with GCC and specify the CMS library option.

(well assuming you are not logged on to maint and have the 394 accessed)

Dave,

The minidisk is released, after my attempted compile, and I didn't know what was, or was not available. This kicked off the search, which turned into this chain of messages.

Thanks for your help.

?... Mark S.


Re: GCC EXEC on S-disk, but Not On Any Other Minidisk? #VMCE

 

On Tue, Dec 7, 2021 at 11:06 AM, Bob Bolch wrote:
Compile a C program that includes something from this disk, with the CMS option, and you will see that the include files are processed.
Bob,

I am missing a header, which started this entire journey. Plus side, I know more than I started with. Minus side, I need to port the missing header file to CMS.

Thank you!

?... Mark S.


Re: GCC EXEC on S-disk, but Not On Any Other Minidisk? #VMCE

 

Hi Mark,
I setup the MAINTC disks for the purpose of building the C runtime, and BREXX.

You should use the GCC user disks which the compiler accesses during the compilation. When the CMS option is specified, the GCCCMS 202 is used for the compilation. You do not need to manually access it.?

Compile a C program that includes something from this disk, with the CMS option, and you will see that the include files are processed.

Bob

On Tue, Dec 7, 2021, 11:40 AM Mark A. Stevens via <marXtevens=[email protected]> wrote:
On Tue, Dec 7, 2021 at 05:19 AM, Bob Bolch wrote:
GCCCMS 201 minidisk is accessed when the OS parameter is specified.
GCCCMS 202 minidisk is accessed when the CMS parameter is specified.
?
Do those disks contain the H files you are looking for?
Bob,

I am more interested in the CMS emulation/headers than OS, at this instant.

It seems that MAINTC 394 (see the reply to Dave) and GCCCMS 202 contain same/similar files.

I will make time to compare and see if they are identical, and report back, if you wish.

q disk f
Label? CUU M? Stat? Cyl Type Blksize?? Files? Blks Used-(%) Blks Left? Blk Total
GCCLIB 122 F/C R/O?? 10 3350? 800???????? 23??????? 355-06?????? 5345?????? 5700
Ready; T=0.01/0.01 16:24:53
l * h f ( date
Filename Filetype Fm? Format??? Recs Blocks???? Date??? Time
ASSERT?? H??????? F2? V??? 71???? 25????? 2? 04/14/21?? 11:40
CMSRUNTM H??????? F2? V?? 106??? 218???? 16? 03/23/21??? 8:13
CMSSYS?? H??????? F2? V?? 108??? 862???? 89? 04/14/21?? 11:40
CTYPE??? H??????? F2? V?? 100???? 62????? 3? 04/14/21?? 11:40
ERRNO??? H??????? F2? V??? 71???? 64????? 3? 04/14/21?? 11:40
FLOAT??? H??????? F2? V??? 75??? 127????? 5? 04/14/21?? 11:40
GCCCRAB? H??????? F2? V?? 100???? 68????? 4? 03/23/21??? 7:07
LIMITS?? H??????? F2? V??? 71???? 49????? 3? 04/14/21?? 11:40
LOCALE?? H??????? F2? V??? 71???? 49????? 3? 04/14/21?? 11:40
MATH???? H??????? F2? V??? 71??? 113????? 4? 04/14/21?? 11:40
REXXSAA? H??????? F2? V??? 81??? 162???? 11? 04/14/21?? 11:40
SETJMP?? H??????? F2? V?? 100???? 42????? 5? 04/14/21?? 11:40
SIGNAL?? H??????? F2? V??? 71???? 33????? 2? 04/14/21?? 11:40
STDARG?? H??????? F2? V??? 73???? 22????? 2? 04/14/21?? 11:40
STDDEF?? H??????? F2? V??? 71???? 38????? 2? 04/14/21?? 11:40
STDIO??? H??????? F2? V?? 100??? 782???? 81? 04/14/21?? 11:40
STDLIB?? H??????? F2? V?? 100??? 381???? 20? 04/14/21?? 11:40
STRING?? H??????? F2? V??? 73??? 173????? 9? 04/14/21?? 11:40
TIME???? H??????? F2? V??? 71???? 65????? 3? 04/14/21?? 11:40
TSTS???? H??????? F2? V?? 125???? 98????? 5? 04/14/21?? 11:40
Ready; T=0.01/0.01 16:25:00

Again, if I can help, please let me know.

?... Mark S.


Re: GCC EXEC on S-disk, but Not On Any Other Minidisk? #VMCE

 

¿ªÔÆÌåÓý

Mark,

?

The CMS headers are the ones on GCCCMS 202 disk. These are what are used when you compile something with GCC and specify the CMS library option.

(well assuming you are not logged on to maint and have the 394 accessed)

?

Harold,

?

I don¡¯t think there is comprehensive documentation anywhere. Paul keeps everything on windows and copies it to VM when he wants to do a compile hence all the stuff in the batch directory.

The fact that we have two totally independent C libraries makes a mess of things.

?

Dave

?

?

From: [email protected] <[email protected]> On Behalf Of Mark A. Stevens via groups.io
Sent: 07 December 2021 16:41
To: [email protected]
Subject: Re: [h390-vm] GCC EXEC on S-disk, but Not On Any Other Minidisk? #VMCE

?

On Tue, Dec 7, 2021 at 05:19 AM, Bob Bolch wrote:

GCCCMS 201 minidisk is accessed when the OS parameter is specified.

GCCCMS 202 minidisk is accessed when the CMS parameter is specified.

?

Do those disks contain the H files you are looking for?

Bob,

I am more interested in the CMS emulation/headers than OS, at this instant.

It seems that MAINTC 394 (see the reply to Dave) and GCCCMS 202 contain same/similar files.

I will make time to compare and see if they are identical, and report back, if you wish.

q disk f
Label? CUU M? Stat? Cyl Type Blksize?? Files? Blks Used-(%) Blks Left? Blk Total
GCCLIB 122 F/C R/O?? 10 3350? 800???????? 23??????? 355-06?????? 5345?????? 5700
Ready; T=0.01/0.01 16:24:53
l * h f ( date
Filename Filetype Fm? Format??? Recs Blocks???? Date??? Time
ASSERT?? H??????? F2? V??? 71???? 25????? 2? 04/14/21?? 11:40
CMSRUNTM H??????? F2? V?? 106??? 218???? 16? 03/23/21??? 8:13
CMSSYS?? H??????? F2? V?? 108??? 862???? 89? 04/14/21?? 11:40
CTYPE??? H??????? F2? V?? 100???? 62????? 3? 04/14/21?? 11:40
ERRNO??? H??????? F2? V??? 71???? 64????? 3? 04/14/21?? 11:40
FLOAT??? H??????? F2? V??? 75??? 127????? 5? 04/14/21?? 11:40
GCCCRAB? H??????? F2? V?? 100???? 68????? 4? 03/23/21??? 7:07
LIMITS?? H??????? F2? V??? 71???? 49????? 3? 04/14/21?? 11:40
LOCALE?? H??????? F2? V??? 71???? 49????? 3? 04/14/21?? 11:40
MATH???? H??????? F2? V??? 71??? 113????? 4? 04/14/21?? 11:40
REXXSAA? H??????? F2? V??? 81??? 162???? 11? 04/14/21?? 11:40
SETJMP?? H??????? F2? V?? 100???? 42????? 5? 04/14/21?? 11:40
SIGNAL?? H??????? F2? V??? 71???? 33????? 2? 04/14/21?? 11:40
STDARG?? H??????? F2? V??? 73???? 22????? 2? 04/14/21?? 11:40
STDDEF?? H??????? F2? V??? 71???? 38????? 2? 04/14/21?? 11:40
STDIO??? H??????? F2? V?? 100??? 782???? 81? 04/14/21?? 11:40
STDLIB?? H??????? F2? V?? 100??? 381???? 20? 04/14/21?? 11:40
STRING?? H??????? F2? V??? 73??? 173????? 9? 04/14/21?? 11:40
TIME???? H??????? F2? V??? 71???? 65????? 3? 04/14/21?? 11:40
TSTS???? H??????? F2? V?? 125???? 98????? 5? 04/14/21?? 11:40
Ready; T=0.01/0.01 16:25:00

Again, if I can help, please let me know.

?... Mark S.


Re: GCC EXEC on S-disk, but Not On Any Other Minidisk? #VMCE

 

On Tue, Dec 7, 2021 at 05:19 AM, Bob Bolch wrote:
GCCCMS 201 minidisk is accessed when the OS parameter is specified.
GCCCMS 202 minidisk is accessed when the CMS parameter is specified.
?
Do those disks contain the H files you are looking for?
Bob,

I am more interested in the CMS emulation/headers than OS, at this instant.

It seems that MAINTC 394 (see the reply to Dave) and GCCCMS 202 contain same/similar files.

I will make time to compare and see if they are identical, and report back, if you wish.

q disk f
Label? CUU M? Stat? Cyl Type Blksize?? Files? Blks Used-(%) Blks Left? Blk Total
GCCLIB 122 F/C R/O?? 10 3350? 800???????? 23??????? 355-06?????? 5345?????? 5700
Ready; T=0.01/0.01 16:24:53
l * h f ( date
Filename Filetype Fm? Format??? Recs Blocks???? Date??? Time
ASSERT?? H??????? F2? V??? 71???? 25????? 2? 04/14/21?? 11:40
CMSRUNTM H??????? F2? V?? 106??? 218???? 16? 03/23/21??? 8:13
CMSSYS?? H??????? F2? V?? 108??? 862???? 89? 04/14/21?? 11:40
CTYPE??? H??????? F2? V?? 100???? 62????? 3? 04/14/21?? 11:40
ERRNO??? H??????? F2? V??? 71???? 64????? 3? 04/14/21?? 11:40
FLOAT??? H??????? F2? V??? 75??? 127????? 5? 04/14/21?? 11:40
GCCCRAB? H??????? F2? V?? 100???? 68????? 4? 03/23/21??? 7:07
LIMITS?? H??????? F2? V??? 71???? 49????? 3? 04/14/21?? 11:40
LOCALE?? H??????? F2? V??? 71???? 49????? 3? 04/14/21?? 11:40
MATH???? H??????? F2? V??? 71??? 113????? 4? 04/14/21?? 11:40
REXXSAA? H??????? F2? V??? 81??? 162???? 11? 04/14/21?? 11:40
SETJMP?? H??????? F2? V?? 100???? 42????? 5? 04/14/21?? 11:40
SIGNAL?? H??????? F2? V??? 71???? 33????? 2? 04/14/21?? 11:40
STDARG?? H??????? F2? V??? 73???? 22????? 2? 04/14/21?? 11:40
STDDEF?? H??????? F2? V??? 71???? 38????? 2? 04/14/21?? 11:40
STDIO??? H??????? F2? V?? 100??? 782???? 81? 04/14/21?? 11:40
STDLIB?? H??????? F2? V?? 100??? 381???? 20? 04/14/21?? 11:40
STRING?? H??????? F2? V??? 73??? 173????? 9? 04/14/21?? 11:40
TIME???? H??????? F2? V??? 71???? 65????? 3? 04/14/21?? 11:40
TSTS???? H??????? F2? V?? 125???? 98????? 5? 04/14/21?? 11:40
Ready; T=0.01/0.01 16:25:00

Again, if I can help, please let me know.

?... Mark S.


Re: GCC EXEC on S-disk, but Not On Any Other Minidisk? #VMCE

 

There seems to be a lot of confusion about how various header files are
included in compiles. I am certainly not an expert in GCC on VM, C
library options, or CMS itself.

But, the discussion begs the question: Is there a complete list of
which disks / modules / etc that documents the _present_ structure?

Everyone seems to see a piece of the problem not the entire structure.

Such a list might point to how it could be improved.

Just a thought,
Harold Grovesteen

On Tue, 2021-12-07 at 10:06 +0000, Dave Wade wrote:
Mark,

Well the mess is there BECAUSE there are two sets of ¡°.h¡± files and
CMS does not have a directory structure.
So the production GCC EXEC accesses the GCCCMS disks that contain the
¡°.h¡± files that match the library you have selected PDPCLIB or GCCLIB

There are two ways to fix this. One would be to change the GCC
compiler so you could specify which disks it searched for ¡°.h¡± files.
The other would be to modify the compiler so it could read ¡°.h¡± files
from emulated OS Partitioned Data Sets as I think the IBM compiler
does.

Neither seem attractive, but what I would think could be done is to
fix the help that¡¯s returned by ¡°HELP GCC (MORE¡± to explain what is
happening and why.

Its needs fixing anyway, its also wrong:-(

Dave
Groups.io Links:
You receive all messages sent to this group.

View/Reply Online (#3680) | Reply To Group | Reply To Sender | Mute
This Topic | New Topic
Mute #vmce
Your Subscription | Contact Group Owner | Unsubscribe [
h.grovsteen@...]

_._,_._,_


Re: GCC EXEC on S-disk, but Not On Any Other Minidisk? #VMCE

 

On Tue, Dec 7, 2021 at 04:06 AM, Dave Wade wrote:

There are two ways to fix this. One would be to change the GCC compiler so you could specify which disks it searched for ¡°.h¡± files.

The other would be to modify the compiler so it could read ¡°.h¡± files from emulated OS Partitioned Data Sets as I think the IBM compiler does.

?

Neither seem attractive, but what I would think could be done is to fix the help that¡¯s returned by ¡°HELP GCC (MORE¡± to explain what is happening and why.

?

Its needs fixing anyway, its also wrong:-(

Dave,

Thanks for the additional explanation. I did find *.h files which seem to emulate/imitate/replace those from /usr/include/*.h files on MAINTC 394.

My two cents on minidisk vs MACLIB would be minidisk, until we can get OS PDS emulation/management. The lack of a directory structure does make this a challenge, either way.

q disk f
Label? CUU M? Stat? Cyl Type Blksize?? Files? Blks Used-(%) Blks Left? Blk Total
MNT394 122 F/C R/O?? 50 3350? 800???????? 87?????? 1998-07????? 26502????? 28500
Ready; T=0.01/0.01 16:17:40
l * h f ( date
Filename Filetype Fm? Format??? Recs Blocks???? Date??? Time
ASSERT?? H??????? F1? V??? 71???? 25????? 2? 04/14/21?? 11:40
CMSRUNTM H??????? F1? V?? 106??? 218???? 16? 03/23/21??? 8:13
CMSSYS?? H??????? F1? V?? 108??? 862???? 89? 04/14/21?? 11:40
CTYPE??? H??????? F1? V?? 100???? 62????? 3? 04/14/21?? 11:40
ERRNO??? H??????? F1? V??? 71???? 64????? 3? 04/14/21?? 11:40
FLOAT??? H??????? F1? V??? 75??? 127????? 5? 04/14/21?? 11:40
GCCCRAB? H??????? F1? V?? 100???? 68????? 4? 03/23/21??? 7:07
LIMITS?? H??????? F1? V??? 71???? 49????? 3? 04/14/21?? 11:40
LOCALE?? H??????? F1? V??? 71???? 49????? 3? 04/14/21?? 11:40
MATH???? H??????? F1? V??? 71??? 113????? 4? 04/14/21?? 11:40
REXXSAA? H??????? F1? V??? 81??? 162???? 11? 04/14/21?? 11:40
SETJMP?? H??????? F1? V?? 100???? 42????? 5? 04/14/21?? 11:40
SIGNAL?? H??????? F1? V??? 71???? 33????? 2? 04/14/21?? 11:40
STDARG?? H??????? F1? V??? 73???? 22????? 2? 04/14/21?? 11:40
STDDEF?? H??????? F1? V??? 71???? 38????? 2? 04/14/21?? 11:40
STDIO??? H??????? F1? V?? 100??? 782???? 81? 04/14/21?? 11:40
STDLIB?? H??????? F1? V?? 100??? 381???? 20? 04/14/21?? 11:40
STRING?? H??????? F1? V??? 73??? 173????? 9? 04/14/21?? 11:40
TIME???? H??????? F1? V??? 71???? 65????? 3? 04/14/21?? 11:40
TSTS???? H??????? F1? V?? 125???? 98????? 5? 04/14/21?? 11:40
Ready; T=0.01/0.01 16:17:49

If I can help, let me know, and I will do what I can.

?... Mark S.


Re: GCC EXEC on S-disk, but Not On Any Other Minidisk? #VMCE

 

Hi Mark,

I only use GCC to build BREXX, so I am not sure of some of the details. Dave and I will try to provide more details in the help files. I do know that the GCC EXEC on the Y-disk accesses the set of H files as follows:

GCCCMS 201 minidisk is accessed when the OS parameter is specified.
GCCCMS 202 minidisk is accessed when the CMS parameter is specified.

Do those disks contain the H files you are looking for?

Bob


Re: GCC EXEC on S-disk, but Not On Any Other Minidisk? #VMCE

 

¿ªÔÆÌåÓý

Mark,

?

Well the mess is there BECAUSE there are two sets of ¡°.h¡± files and CMS does not have a directory structure.

So the production GCC EXEC accesses the GCCCMS disks that contain the ¡°.h¡± files that match the library you have selected PDPCLIB or GCCLIB

?

There are two ways to fix this. One would be to change the GCC compiler so you could specify which disks it searched for ¡°.h¡± files.

The other would be to modify the compiler so it could read ¡°.h¡± files from emulated OS Partitioned Data Sets as I think the IBM compiler does.

?

Neither seem attractive, but what I would think could be done is to fix the help that¡¯s returned by ¡°HELP GCC (MORE¡± to explain what is happening and why.

?

Its needs fixing anyway, its also wrong:-(

?

Dave

?

From: [email protected] <[email protected]> On Behalf Of Mark A. Stevens via groups.io
Sent: 07 December 2021 01:03
To: [email protected]
Subject: Re: [h390-vm] GCC EXEC on S-disk, but Not On Any Other Minidisk? #VMCE

?

On Mon, Dec 6, 2021 at 06:11 AM, Bob Bolch wrote:

The GCCCMS userID contains the compiler install materials, and there is nothing there that?

an ordinary compiler user needs. Any changes made on that ID could impact the ability to

regenerate the compiler. Everything you need to use the compiler is made available by the GCC?

EXEC. The GCC EXEC also uses runtime libraries made for CMS that are maintained on

the MAINTC ID. Please elaborate?on why you are logging on to GCCCMS. Maybe we can

simplify the method you are using.

I was looking for the equivalent of /usr/include/*.h and /usr/include/sys/*.h? files, so I can build the Zlib program library, the basis for zip and unzip.

I wasn't logging on to GCCCMS, but using the MDISK entries from USER DIRECT to see what GCCCMS had.

In the process of searching, I happened to look for all the copies of GCC EXEC and thought I noticed a discrepancy. :-D I have yet to read through the GCC EXEC S, code. So much to do, and so little time, but I have a need to know what header files are available for a compile, so of all the places I could pick, I started with GCCCMS and its minidisks.

I didn't know about MAINTC, so I will also look there.

I don't consider myself just a compiler user, since I have written and installed applications, for "general users" over the years for both VM/* and for *nix.
I also don't consider myself an expert, more of the "Jack of all trades, master of none" sort.

Thank you very much for the pointers.

?... Mark S.


Re: Visual studio 2022

 

Marco Antoniotti wrote:

any chances of removing the win32.mak dependency?

It would simplify the process.
I'm looking into it.

--
"Fish" (David B. Trout)
Software Development Laboratories

mail: fish@...