So gccmvs generates code with AMODE 31/32 and I force the linker to mark it as AMODE 64?
--------------------------------------------
On Sat, 6/23/18, ***@yahoo.com.au [hercules-os380] <hercules-***@yahoogroups.com> wrote:
Subject: Re: [hercules-os380] Re: Gcc AMODE 31 RMODE ANY
To: hercules-***@yahoogroups.com
Date: Saturday, June 23, 2018, 3:02 PM
Â
Post by Amrith ***@yahoo.com [hercules-os380]I am confused with what you mean by AM64 clean.
I assume in MVS380 there is no concept of above
the bar. Without 64bit registers
The Hercules/380 beta which you have already
previously installed supports 64-bit registers.
You need to do a 64-bit compile of Hercules/380
and you can access memory above 4 GiB.
Post by Amrith ***@yahoo.com [hercules-os380]To make as AM64 or AM31 32 do we have the
- m64 31 32 compiler option?
GCCMVS basically has a -m32 default, and
there is no -m64. If you want to run 64-bit
code you need to write in assembler.
However, if a -m32 GCCMVS executable is
run in AM64, it will probably work for a test
program, and you can access memory up
to 4 GiB. For a large program that unfortunately
uses negative indexes, AM64 won't work, and
the best you can do is AM32. To run AM32
(instead of AM31), you a more recent
Hercules/380 beta which switches AM31
into AM32 automatically (if you set the
am31mode config option).
BFN. Paul.
#yiv7799620313 #yiv7799620313 --
#yiv7799620313ygrp-mkp {
border:1px solid #d8d8d8;font-family:Arial;margin:10px
0;padding:0 10px;}
#yiv7799620313 #yiv7799620313ygrp-mkp hr {
border:1px solid #d8d8d8;}
#yiv7799620313 #yiv7799620313ygrp-mkp #yiv7799620313hd {
color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px
0;}
#yiv7799620313 #yiv7799620313ygrp-mkp #yiv7799620313ads {
margin-bottom:10px;}
#yiv7799620313 #yiv7799620313ygrp-mkp .yiv7799620313ad {
padding:0 0;}
#yiv7799620313 #yiv7799620313ygrp-mkp .yiv7799620313ad p {
margin:0;}
#yiv7799620313 #yiv7799620313ygrp-mkp .yiv7799620313ad a {
color:#0000ff;text-decoration:none;}
#yiv7799620313 #yiv7799620313ygrp-sponsor
#yiv7799620313ygrp-lc {
font-family:Arial;}
#yiv7799620313 #yiv7799620313ygrp-sponsor
#yiv7799620313ygrp-lc #yiv7799620313hd {
margin:10px
0px;font-weight:700;font-size:78%;line-height:122%;}
#yiv7799620313 #yiv7799620313ygrp-sponsor
#yiv7799620313ygrp-lc .yiv7799620313ad {
margin-bottom:10px;padding:0 0;}
#yiv7799620313 #yiv7799620313actions {
font-family:Verdana;font-size:11px;padding:10px 0;}
#yiv7799620313 #yiv7799620313activity {
background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}
#yiv7799620313 #yiv7799620313activity span {
font-weight:700;}
#yiv7799620313 #yiv7799620313activity span:first-child {
text-transform:uppercase;}
#yiv7799620313 #yiv7799620313activity span a {
color:#5085b6;text-decoration:none;}
#yiv7799620313 #yiv7799620313activity span span {
color:#ff7900;}
#yiv7799620313 #yiv7799620313activity span
.yiv7799620313underline {
text-decoration:underline;}
#yiv7799620313 .yiv7799620313attach {
clear:both;display:table;font-family:Arial;font-size:12px;padding:10px
0;width:400px;}
#yiv7799620313 .yiv7799620313attach div a {
text-decoration:none;}
#yiv7799620313 .yiv7799620313attach img {
border:none;padding-right:5px;}
#yiv7799620313 .yiv7799620313attach label {
display:block;margin-bottom:5px;}
#yiv7799620313 .yiv7799620313attach label a {
text-decoration:none;}
#yiv7799620313 blockquote {
margin:0 0 0 4px;}
#yiv7799620313 .yiv7799620313bold {
font-family:Arial;font-size:13px;font-weight:700;}
#yiv7799620313 .yiv7799620313bold a {
text-decoration:none;}
#yiv7799620313 dd.yiv7799620313last p a {
font-family:Verdana;font-weight:700;}
#yiv7799620313 dd.yiv7799620313last p span {
margin-right:10px;font-family:Verdana;font-weight:700;}
#yiv7799620313 dd.yiv7799620313last p
span.yiv7799620313yshortcuts {
margin-right:0;}
#yiv7799620313 div.yiv7799620313attach-table div div a {
text-decoration:none;}
#yiv7799620313 div.yiv7799620313attach-table {
width:400px;}
#yiv7799620313 div.yiv7799620313file-title a, #yiv7799620313
div.yiv7799620313file-title a:active, #yiv7799620313
div.yiv7799620313file-title a:hover, #yiv7799620313
div.yiv7799620313file-title a:visited {
text-decoration:none;}
#yiv7799620313 div.yiv7799620313photo-title a,
#yiv7799620313 div.yiv7799620313photo-title a:active,
#yiv7799620313 div.yiv7799620313photo-title a:hover,
#yiv7799620313 div.yiv7799620313photo-title a:visited {
text-decoration:none;}
#yiv7799620313 div#yiv7799620313ygrp-mlmsg
#yiv7799620313ygrp-msg p a span.yiv7799620313yshortcuts {
font-family:Verdana;font-size:10px;font-weight:normal;}
#yiv7799620313 .yiv7799620313green {
color:#628c2a;}
#yiv7799620313 .yiv7799620313MsoNormal {
margin:0 0 0 0;}
#yiv7799620313 o {
font-size:0;}
#yiv7799620313 #yiv7799620313photos div {
float:left;width:72px;}
#yiv7799620313 #yiv7799620313photos div div {
border:1px solid
#666666;min-height:62px;overflow:hidden;width:62px;}
#yiv7799620313 #yiv7799620313photos div label {
color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}
#yiv7799620313 #yiv7799620313reco-category {
font-size:77%;}
#yiv7799620313 #yiv7799620313reco-desc {
font-size:77%;}
#yiv7799620313 .yiv7799620313replbq {
margin:4px;}
#yiv7799620313 #yiv7799620313ygrp-actbar div a:first-child {
margin-right:2px;padding-right:5px;}
#yiv7799620313 #yiv7799620313ygrp-mlmsg {
font-size:13px;font-family:Arial, helvetica, clean,
sans-serif;}
#yiv7799620313 #yiv7799620313ygrp-mlmsg table {
font-size:inherit;font:100%;}
#yiv7799620313 #yiv7799620313ygrp-mlmsg select,
#yiv7799620313 input, #yiv7799620313 textarea {
font:99% Arial, Helvetica, clean, sans-serif;}
#yiv7799620313 #yiv7799620313ygrp-mlmsg pre, #yiv7799620313
code {
font:115% monospace;}
#yiv7799620313 #yiv7799620313ygrp-mlmsg * {
line-height:1.22em;}
#yiv7799620313 #yiv7799620313ygrp-mlmsg #yiv7799620313logo {
padding-bottom:10px;}
#yiv7799620313 #yiv7799620313ygrp-msg p a {
font-family:Verdana;}
#yiv7799620313 #yiv7799620313ygrp-msg
p#yiv7799620313attach-count span {
color:#1E66AE;font-weight:700;}
#yiv7799620313 #yiv7799620313ygrp-reco
#yiv7799620313reco-head {
color:#ff7900;font-weight:700;}
#yiv7799620313 #yiv7799620313ygrp-reco {
margin-bottom:20px;padding:0px;}
#yiv7799620313 #yiv7799620313ygrp-sponsor #yiv7799620313ov
li a {
font-size:130%;text-decoration:none;}
#yiv7799620313 #yiv7799620313ygrp-sponsor #yiv7799620313ov
li {
font-size:77%;list-style-type:square;padding:6px 0;}
#yiv7799620313 #yiv7799620313ygrp-sponsor #yiv7799620313ov
ul {
margin:0;padding:0 0 0 8px;}
#yiv7799620313 #yiv7799620313ygrp-text {
font-family:Georgia;}
#yiv7799620313 #yiv7799620313ygrp-text p {
margin:0 0 1em 0;}
#yiv7799620313 #yiv7799620313ygrp-text tt {
font-size:120%;}
#yiv7799620313 #yiv7799620313ygrp-vital ul li:last-child {
border-right:none !important;
}
#yiv7799620313