GCC and accessories was File transfers
Vincent Coen <vbcoen-6b45v/[email protected]> Fri, 24 Jan 2014 11:02:57 +0000
| Newsgroups | gmane.comp.emulators.hercules390.os380,gmane.comp.emulators.turnkey-mvs |
|---|---|
| Message-ID | <[email protected]> |
--------------000301070106030608030709
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
I would like to install GNU Cobol (formally Open Cobol) v2.1 (with rwcs)
which needs the following to build and run:
Recent copy of gcc and its libraries for example, I have v4.7.2 all in
x64 builds but for mainframe ??
GNU MP (libgmp) 4.1.2 or later
BOTH runtime AND development components required.
libgmp is used to implement decimal arithmetic.
GNU Libtool (libltdl)
libltdl is used to implement dynamic CALL statements (but installed
in Linux distros).
Indexed-Sequential file I/O (ISAM) is used
Berkeley DB (libdb) 4.1 or later
BOTH runtime AND development components required.
libdb is used to implement indexed file I/O.
SCREEN I/O is used or extended ACCEPT/DISPLAY is used
Ncurses (ncurses) 5.2 or later
BOTH runtime AND development components required.
** NOTE **
Due to deficiencies in the tools used to prepare
GNU Cobol (autoconf/automake/libtool), it is
NOT generally possible to use path names with
spaces embedded within them (Mainly Cygwin/MingW/Windows ports).
** NOTE **
The default installation path for GNU Cobol is /usr/local.
The installation path may be changed by specifying --prefix=<dir>
as a parameter to the configure.
Further parameters may be specified to affect
include/library search paths.
Execute ./configure --help for further details.
============
Development
============
If you wish to hack the GNU Cobol source code, proceed
as follows.
Before changing/building GNU Cobol, you need to install the
following extra packages with versions equal or greater :
For compiling (when changing flex/bison sources) :
o Bison 2.3
o Flex 2.5.35
If you reconfigure and/or prepare a distribution
o autoconf 2.64
o automake 1.10.1
o libtool 2.2.6
o m4 1.4.12
o gettext 0.17
o texinfo 4.12
o texlive (latest)
If you modify top-level configure.ac, Makefile.am in any directory,
or any of the standard OC tests then you will need to
run "autoreconf -I m4" to regenerate the necessary files.
For rdbms also mysql or mariadb server and client (which includes the C
& C++ include libraries.
Screen IO should be interesting to see what happens on a 3270 terminal :)
Anyone any ideas on this little addon ?
Vincent
On 23/01/14 08:48, kerravon86-/[email protected] wrote:
>
>
> The proc to compile a GCC program is GCC.PROCLIB(GCCCL).
>
>
> That executes a program called "GCC". You may need to
>
> change this to GCC370. Or go to GCC.LINKLIB and
>
> rename GCC to GCC390 and rename GCC370 to GCC.
>
>
> This is because the default GCC needs a 31-bit environment
>
> as provided by z/OS or MVS/380.
>
>
> I consider C to be a universal language now, so you
>
> should know how to handle a C source file. :-)
>
>
> BFN. Paul.
>
--------------000301070106030608030709
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<head>
<style type=3D"text/css">
<!--
/* start of attachment style */
.ygrp-photo-title{
clear: both;
font-size: smaller;
height: 15px;
overflow: hidden;
text-align: center;
width: 75px;
}
div.ygrp-photo{
background-position: center;
background-repeat: no-repeat;
background-color: white;
border: 1px solid black;
height: 62px;
width: 62px;
}
div.photo-title=20
a,
div.photo-title a:active,
div.photo-title a:hover,
div.photo-title a:visited {
text-decoration: none;=20
}
div.attach-table div.attach-row {
clear: both;
}
div.attach-table div.attach-row div {
float: left;
/* margin: 2px;*/
}
p {
clear: both;
padding: 15px 0 3px 0;
overflow: hidden;
}
div.ygrp-file {
width: 30px;
valign: middle;
}
div.attach-table div.attach-row div div a {
text-decoration: none;
}
div.attach-table div.attach-row div div span {
font-weight: normal;
}
div.ygrp-file-title {
font-weight: bold;
}
/* end of attachment style */
-->
</style>
</head>
<html>
<head>
<meta content=3D"text/html; charset=3DUTF-8" http-equiv=3D"Content-Type=
">
</head>
<body bgcolor=3D"#FFFFFF" text=3D"#000000">
<!-- |**|begin egp html banner|**| -->
<br><br>
<!-- |**|end egp html banner|**| -->
<div class=3D"moz-cite-prefix">I would like to install GNU Cobol
(formally Open Cobol) v2.1 (with rwcs) which needs the following
to build and run:<br>
<br>
Recent copy of gcc and its libraries for example, I have v4.7.2
all in x64 builds but for mainframe ??<br>
<br>
=C2=A0 GNU MP (libgmp) 4.1.2 or later<br>
=C2=A0=C2=A0 =C2=A0=C2=A0 BOTH runtime AND development components req=
uired.<br>
=C2=A0=C2=A0 =C2=A0=C2=A0 libgmp is used to implement decimal arithme=
tic.<br>
<br>
=C2=A0 GNU Libtool (libltdl)<br>
=C2=A0=C2=A0=C2=A0 libltdl is used to implement dynamic CALL statemen=
ts (but
installed in Linux distros).<br>
<br>
Indexed-Sequential file I/O (ISAM) is used<br>
=C2=A0 Berkeley DB (libdb) 4.1 or later<br>
=C2=A0=C2=A0=C2=A0 BOTH runtime AND development components required.<=
br>
=C2=A0=C2=A0=C2=A0 libdb is used to implement indexed file I/O.<br>
<br>
SCREEN I/O is used or extended ACCEPT/DISPLAY is used<br>
=C2=A0=C2=A0 Ncurses (ncurses) 5.2 or later<br>
=C2=A0=C2=A0=C2=A0 BOTH runtime AND development components required.<=
br>
<br>
** NOTE **<br>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Due to deficiencies in the=
tools used to prepare<br>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 GNU Cobol (autoconf/automa=
ke/libtool), it is<br>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 NOT generally possible to =
use path names with<br>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 spaces embedded within the=
m (Mainly Cygwin/MingW/Windows
ports).<br>
=C2=A0<br>
** NOTE **<br>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 The default installation p=
ath for GNU Cobol is /usr/local.<br>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 The installation path may =
be changed by specifying
--prefix=3D<dir><br>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 as a parameter to the conf=
igure.<br>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Further parameters may be =
specified to affect<br>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 include/library search pat=
hs.<br>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Execute ./configure --help=
for further details.<br>
<br>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br>
Development<br>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br>
<br>
If you wish to hack the GNU Cobol source code, proceed<br>
as follows.<br>
<br>
Before changing/building GNU Cobol, you need to install the<br>
following extra packages with versions equal or greater :<br>
<br>
For compiling (when changing flex/bison sources) :<br>
=C2=A0 o Bison 2.3<br>
=C2=A0 o Flex 2.5.35<br>
<br>
If you reconfigure and/or prepare a distribution<br>
=C2=A0 o autoconf 2.64<br>
=C2=A0 o automake 1.10.1<br>
=C2=A0 o libtool 2.2.6<br>
=C2=A0 o m4 1.4.12<br>
=C2=A0 o gettext 0.17<br>
=C2=A0 o texinfo 4.12<br>
=C2=A0 o texlive (latest)<br>
<br>
If you modify top-level configure.ac, Makefile.am in any
directory,<br>
or any of the standard OC tests then you will need to<br>
run "autoreconf -I m4" to regenerate the necessary files.<br>
<br>
For rdbms also mysql or mariadb server and client (which includes
the C & C++=C2=A0 include libraries.<br>
<br>
Screen IO should be interesting to see what happens on a 3270
terminal=C2=A0 :)<br>
<br>
<br>
Anyone any ideas on this little addon ?<br>
<br>
Vincent<br>
<br>
<br>
On 23/01/14 08:48, <a class=3D"moz-txt-link-abbreviated" href=3D"mail=
to:kerravon86-/[email protected]">kerravon86-/[email protected]</a> wrote:<br>
</div>
<blockquote cite=3D"mid:[email protected]" type=3D"cite">
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DUTF=
-8">
<span style=3D"display:none">=C2=A0</span>
=20=20=20=20=20=20
<div id=3D"ygrp-text"><br>
<p>The proc to compile a GCC program is GCC.PROCLIB(GCCCL).</p>
<p><br>
</p>
<p>That executes a program called "GCC". You may need to</p>
<p>change this to GCC370. Or go to GCC.LINKLIB and</p>
<p>rename GCC to GCC390 and rename GCC370 to GCC.</p>
<p><br>
</p>
<p>This is because the default GCC needs a 31-bit
environment</p>
<p>as provided by z/OS or MVS/380.</p>
<p><br>
</p>
<p>I consider C to be a universal language now, so you</p>
<p>should know how to=C2=A0handle a C source file. :-)</p>
<p><br>
</p>
<p>BFN. Paul.</p>
</div>
</div>
</div>
</blockquote>
<br>
=20=20
<!-- |**|begin egp html banner|**| -->
<br>
<br>
<!-- |**|end egp html banner|**| -->
<div width=3D"1" style=3D"color: white; clear: both;"/>__._,_.___</div>
=20=20=20=20=20=20
=20=20=20=20=20=20
<!-- Start Recommendations -->
<!-- End Recommendations -->
<!-- |**|begin egp html banner|**| -->
<img src=3D"http://geo.yahoo.com/serv?s=3D97476590/grpId=3D22982534/grpsp=
Id=3D1705006559/msgId=3D7173/stime=3D1390561396" width=3D"1" height=3D"1"> =
<br>
<!-- |**|end egp html banner|**| -->
=20=20=20=20
<!-- |**|begin egp html banner|**| -->
<br>
<div style=3D"font-family: verdana; font-size: 77%; border-top: 1px s=
olid #666; padding: 5px 0;" >
Your email settings: Individual Email|Traditional <br>
<a href=3D"http://groups.yahoo.com/group/hercules-os380/join;_ylc=3DX=
3oDMTJnNTdxaHAwBF9TAzk3NDc2NTkwBGdycElkAzIyOTgyNTM0BGdycHNwSWQDMTcwNTAwNjU1=
OQRzZWMDZnRyBHNsawNzdG5ncwRzdGltZQMxMzkwNTYxMzk2">Change settings via the W=
eb</a> (Yahoo! ID required) <br>
Change settings via email: <a href=3D"mailto:hercules-os380-digest@ya=
hoogroups.com?subject=3DEmail Delivery: Digest">Switch delivery to Daily Di=
gest</a> | <a href =3D "mailto:hercules-os380-fullfeatured-hHKSG33TihhbjbujkaE4pw@public.gmane.org?=
subject=3DChange Delivery Format: Fully Featured">Switch to Fully Featured<=
/a> <br>
<a href=3D"http://groups.yahoo.com/group/hercules-os380;_ylc=3DX=
3oDMTJlaDVuNGtwBF9TAzk3NDc2NTkwBGdycElkAzIyOTgyNTM0BGdycHNwSWQDMTcwNTAwNjU1=
OQRzZWMDZnRyBHNsawNocGYEc3RpbWUDMTM5MDU2MTM5Ng--">
Visit Your Group=20
</a> |
<a href=3D"http://info.yahoo.com/legal/us/yahoo/utos/terms/">
Yahoo! Groups Terms of Use
</a> |
<a href=3D"mailto:hercules-os380-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org?subject=
=3DUnsubscribe">
Unsubscribe=20
</a>=20
<br>
</div>
<br>
<!-- |**|end egp html banner|**| -->
<div style=3D"color: white; clear: both;"/>__,_._,___</div>
</body>
</html>
--------------000301070106030608030709--