Discussion:
[hercules-390] GCCMVS ASM Syntax ebcdic/ascii
broweo@yahoo.com [hercules-390]
2018-04-12 14:58:20 UTC
Permalink
Trying to compile a C program with inline assembly, working under windows (version at bottom)
I put asm("X B Y"); in my code but it seems to translate to
ç@@Â@@Ú
in the output



which I guess is EBCDIC (certainly @=0x40=space) but I don't think this would survive the trip to the mainframe. What am I doing wrong?


Compiler -v output:
GNU C version 3.4.6 MVS V1.0 (i370-mvspdp)

compiled by GNU C version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125).
broweo@yahoo.com [hercules-390]
2018-04-12 15:53:52 UTC
Permalink
Ok: I found this http://h390-mvs.yahoogroups.narkive.com/lXDm0S6K/gccmvs-exe-3-4-6-cross-platform-compile http://h390-mvs.yahoogroups.narkive.com/lXDm0S6K/gccmvs-exe-3-4-6-cross-platform-compile

which points to the 3.4.6 GCCMVS being unuseable. I'm working toward 3.2.3 now.
kerravon86@yahoo.com.au [hercules-390]
2018-04-12 23:23:44 UTC
Permalink
Ignore my other message which hasn't come
through yet. Yes, this thread below that points
to gcc-stage275 is the one you want.

BFN. Paul.



---In hercules-***@yahoogroups.com, <***@...> wrote :

Ok: I found this http://h390-mvs.yahoogroups.narkive.com/lXDm0S6K/gccmvs-exe-3-4-6-cross-platform-compile http://h390-mvs.yahoogroups.narkive.com/lXDm0S6K/gccmvs-exe-3-4-6-cross-platform-compile

which points to the 3.4.6 GCCMVS being unuseable. I'm working toward 3.2.3 now.
Gerhard Postpischil gerhardp@charter.net [hercules-390]
2018-04-12 15:45:08 UTC
Permalink
Post by ***@yahoo.com [hercules-390]
Trying to compile a C program with inline assembly, working under
windows (version at bottom)
I don't use C, but a better place for this topic is hercules-os380,
where you'll find GCCMVS users and support.

Gerhard Postpischil
Bradford, VT

---
This email has been checked for viruses by AVG.
http://www.avg.com
broweo@yahoo.com [hercules-390]
2018-04-12 18:57:29 UTC
Permalink
ok thx
kerravon86@yahoo.com.au [hercules-390]
2018-04-12 23:16:37 UTC
Permalink
Post by ***@yahoo.com [hercules-390]
Trying to compile a C program with inline
assembly, working under windows (version at bottom)
I put asm("X B Y"); in my code but it seems to translate to
I believe this problem was solved after being
reported in H390-MVS. If you look in the files
area there you will find a gcc-stage274, which
is a beta GCC 3.2.3. Give that a go.

BFN. Paul.

Loading...