[comp.lang.modula2] Modula-2 for UNIX

will@cygnet.UUCP (06/08/87)

I'm new to this group, so please bear with me if this has been
discussed recently.

I'm looking for Modula-2 that works in a UNIX environment,
particularly for a VAX 780 running 4.2BSD. Is there such a beast?
Whom should I contact to get it?

Please e-mail directly to me. I'll post a summary if enough
interest is generated.

-- 
Will Nelson		uucp: {ucbvax!decvax!decwrl}!pyramid!oliveb!cygnet!will
Cygnet Systems, Inc.
601 West California Avenue
Sunnyvale, CA  94086-4831
(408) 773-0770

system@syzzle.chi.il.us (SYSTEM 0PERATOR) (01/25/91)

Here is a summary of the responses I have received so far regarding
Modula-2 compilers for UNIX systems:


-=-=-=-=-=-=-=-=-=-=-=-=-

Oregon Software, Inc. provides C++, Pascal-2, and Modula-2 compilers
for 680x0 machines which include Sun-3, Motorola, HP 9000/300, and 386
under SCO Xenix and Unix.

The company also writes compilers for DEC VAX supporting VMS and Ultrix,
and the NCR Tower Series.

The compiler is a true compiler (it produces object code) with a source
level debugger.

Pricing for VAX/VMS is based on CPU.  The price for a microVAX II is $3000.00.
Price for Modula-2 for SCO Unix/386 is $895.00

For more information contact:

Oregon Software, Inc.
6915 S.W. Macadam Ave.
Suite 200
Portland, OR  97219
503-245-2202   FAX: 503-245-8449
..!uunet!oresoft!support  or  support@oresoft.uu.net

-=-=-=-=-=-=-=-=-=-=-=-=-

 Rowley Associates in England. They have a whole slew of cross and
native M2 compilers, and quite good too. I think they have compilers for
68K, 88K, Mips, Transputers and 80386, running on all kinds of platforms.

Rowley Associates
32 Rowley
Cam
Dursley Glos. GL11 5NT
UK
Phone: 0453-547916
Fax:   0453-544068

-=-=-=-=-=-=-=-=-=-=-=-=-

M2CC/C Modula-2 to C Translator

which is available for VMS, ULTRIX, UNIX, OS/2 and DOS. The license
prices are depending on the number of users, the base prices are as
follows:

-  DOS, single user                           SFr.  1,500.--
-  OS/2, single user                          SFr.  1,800.--
-  VMS or ULTRIX, two users                   SFr.  2,500.--
-  SCO XENIX or UNIX, two users               SFr.  2,500.--
-  Other UNIX systems                           upon request

The Modula-2 to C Translator uses C as an intermediate language whereby
Modula-2 becomes available on as many systems as C.

Main features of M2CC/C

-  Generates code for all common C compilers
-  Interface to C libraries and runtime systems
-  All Modula-2 language constructs are fully translated into C
   (no manual patching necessary)
-  Comprehensive Make utility

For further information, please contact:

Glance Ltd, Gewerbestrasse 4, CH-8162 Steinmaur (Switzerland)

Phone:  +41-1-853.39.49
Fax:    +41-1-853.08.09
e-mail: heinz@glance.ch


-=-=-=-=-=-=-=-=-=-=-=-=-

There was an old version of the well known Logitech Compiler ported to
Xenix in its Version 2.0 of 1987. Called  Modula-2/X 0.5 from
Logitech in early 1988 but I do not think that any one will be interested
because there is no support.

-=-=-=-=-=-=-=-=-=-=-=-=-

The company EPC (Edinburgh Portable Compilers, Ltd) have a series of
compilers for different systems.  Their Modula-2 compiler is available
for (among others) these systems:
SCO Unix V
Motorola 88000 generic  (we have this one)
Sun 3 and Sun 4
Unisys 6000 series
Sequent Symmetry
Interactive Unix V
ICL DRS 400E  and 6000
Solbourne

Contact:
EPC
17 Alva Street
Edinburgh EH2 4PH
UK

Telephone:  +44 31 225 6262
Fax:        +44 31 225 6644

-=-=-=-=-=-=-=-=-=-=-=-=-

we offer one Modula-2 system for 3 UNIX-Systems:

(1) Concurrent 3200 Series, XELOS R02
(2) Nixdorf Targon/31, UNIX System V.3
(3) Sun 3, SunOS 4.*

(3) is available per anonymous ftp from titania.mathematik.uni-ulm.de
(134.60.66.21). A licence agreement is necessary for the compiler
sources (derived from the 4-pass Lilith compiler of ETH Zurich).
All other sources are free and included in the archive of our ftp site.

The system includes following components

+ 4-pass Modula-2 compiler which conforms to the 3rd edition of PIM.
  Earlier revisions of Modula-2 are supported, too.
+ A very large library which is completely written in Modula-2
  (our Modula-2 system does not support interfaces to C or other
  languages). The library includes all important UNIX system calls (even
  signal handling), an I/O package (similar to stdio) and
  a window package (similar to curses).
+ Makefile-generator. It is possible to update generated makefiles which
  has been modified "by hand" without losing the modifications.
  The makefile generator supports multiple mains, symbol archives,
  libraries, and dependencies to the library.
+ Source level debugger.
+ myacc - yacc-version which generates Modula-2. Available via
  anonymous ftp.
+ Other tools: pretty printer, generation of tags etc.

The current release is 2.2.

Following packages has been ported to our Modula-2 and are available,
provided you have a licence of the original version:

+ LIDAS database. Includes RDS (relational database system; Modula-2
  library which realizes a relational database) and Modula/R.
  Currently only available for Concurrent 3200 and Nixdorf Targon/31.
+ Modula--Prolog

Andreas Borchert, SAI, Universitaet Ulm, Oberer Eselsberg, D-7900 Ulm, Germany
borchert@mathematik.uni-ulm.de
postmaster@uni-ulm.de

-=-=-=-=-=-=-=-=-=-=-=-=-

The Western Research Laboratory of Digital Equipment Corporation is
pleased to announce the availability of their Modula-2 compiler for all
models of DECStations.  Len Lattanzi retargeted the front end to
generate MIPS ucode, modified the intermodule checker, and made the
compiler generate entries that are as compatible with dbx as possible
without actually changing dbx.

The new compiler runs on DECStations under Ultrix.  It will certainly
not run on any big-endian MIPS machine, and I have no inclination to
make it do so.  It may run on other UNIX operating systems, but don't
hold your breath.

Since we have not yet merged source trees, this compiler is slightly
different from the compiler recently announced for the VAX.  The
DECStation release contains just binaries, so you probably also want to
retrieve the VAX version of the compiler, which contains extensive
documentation.  The MIPS file is about 460 kilobytes; the VAX file is
about 3.4 megabytes.

The release can be obtained from gatekeeper.dec.com, in the file
/pub/DEC/Modula-2/m2.mips.tar.Z.  (Internal DEC sites can retrieve over
DECNET at decwrl::/pub/DEC/Modula-2/m2.mips.tar.Z)  You should create
the directory /usr/local/lib/mod, copy this file into it, then

	uncompress m2.mips.tar.Z
	tar xf m2.mips.tar
	ln -s /usr/local/lib/mod/mod /usr/local/bin/mod

In this release, the passes of the compiler, the library file libmod.a,
and all definition modules live in /usr/local/lib/mod.  This should
change in the next release to match the VAX version.  Also, any bug
fixes in m2/Bugs dated 1990 are not included; in particular, definition
files must have an export list of some sort.

Below is the announcement of the VAX compiler and licensing terms, for
those missed the announcement a few days ago.

          The Western Research Laboratory of  Digital  Equipment  Cor-
          poration  is  pleased  to announce the availability of a new
          version of their Modula-2 compiler for VAXes running  Ultrix
          or  BSD.  (The compiler has also been ported to the MIPS and
          to VMS; these versions should be available ``soon.'')

          The compiler was designed and built by  Michael  L.  Powell,
          and  originally  released in 1984.  Joel McCormack has since
          sped the compiler up, fixed lots of bugs, and stolen/written
          a User's Manual.  The compiler appears to be one of the best
          compilers for the VAX in terms of  efficiency  of  the  gen-
          erated code.  The error messages are quite a bit better than
          those from the Ultrix C compiler and  the  compile  time  is
          about  the  same  as  cc  and  gcc.   Further,  the compiler
          includes  an  intermodule  checker  that  uses  fine-grained
          dependencies  rather  than  timestamps,  so  you  can modify
          definition modules in upward-compatible ways without  recom-
          piling the world.

          The compiler includes several extensions.  The most  notable
          are:  provisions  for  interfacing  with procedures and data
          types written in other languages like C and Pascal (a defin-
          ition  module  for  the  X11 C library is included); dynamic
          array variables, subarray parameters, and  multi-dimensional
          open  array  parameters; inline procedures; complete support
          for the LONGFLOAT type;  and  a  pseudo-module  providing  a
          type-checked interface to the C library I/O routines.

          In addition, the compiler front  end  can  be  conditionally
          compiled  to  generate  a  Pascal  compiler  that  accepts a
          language almost identical to  Berkeley  Pascal.   (Procedure
          parameters  are not supported, and record layout and parame-
          ter passing conventions are somewhat different.)

          The distribution also includes a program that does  most  of
          the translation of Berkeley Pascal programs into Modula-2.

          The   compiler  is   available   for   anonymous   ftp  from
          gatekeeper.dec.com,    in    the    compressed    tar   file
          /pub/DEC/Modula-2/m2.vax.tar.Z.  Once you have  copied  this
          file, you can uncompress it and untar it, like:

          	uncompress m2.vax.tar.Z
          	tar xf m2.vax.tar

          From there, read the README file, and the doc/installation.f
          file.

          The compiler is  available  to  DEC  sites  over  DECNET  at
          decwrl::/pub/DEC/Modula-2/m2.vax.tar.Z.

          The compiler is also available by  magnetic  tape.   Send  a
          check made out to  Digital Equipment Corporation for $100 US
          to:

                  Director of Licensing
                  Digital Equipment Corporation
                  Western Research Laboratory
                  100 Hamilton Avenue
                  Palo Alto, CA  94301


          Unlike the previous license, the new license does  not  res-
          trict  use of the compiler to educational institutions.  The
          license agreement is as follows:

          ------------------------------------------------------------
               Copyright 1984-1990 Digital Equipment Corporation
                              All Rights Reserved

          Permission to use, copy, and modify this  software  and  its
          documentation  is  hereby  granted  only under the following
          terms and conditions.  Both the above copyright  notice  and
          this  permission  notice  must  appear  in all copies of the
          software, derivative works or  modified  versions,  and  any
          portions thereof, and both notices must appear in supporting
          documentation.

          Users of this software agree to the terms and conditions set
          forth  herein,  and  hereby  grant  back  to  Digital a non-
          exclusive,  unrestricted,  royalty-free  right  and  license
          under  any  changes,  enhancements or extensions made to the
          core functions of the software, including but not limited to
          those   affording   compatibility  with  other  hardware  or
          software  environments,  but  excluding  applications  which
          incorporate this software.  Users further agree to use their
          best efforts to return to Digital any such changes, enhance-
          ments  or  extensions  that  they make and inform Digital of
          noteworthy uses of this software.  Correspondence should  be
          provided to Digital at:

                  Director of Licensing
                  Western Research Laboratory
                  Digital Equipment Corporation
                  100 Hamilton Avenue
                  Palo Alto, California  94301

          This software may be distributed (but not offered  for  sale
          or  transferred for compensation) to third parties, provided
          such third parties agree to abide by the  terms  and  condi-
          tions of this notice.

          THE SOFTWARE IS PROVIDED "AS IS" AND DIGITAL EQUIPMENT CORP.
          DISCLAIMS  ALL  WARRANTIES  WITH  REGARD  TO  THIS SOFTWARE,
          INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FIT-
          NESS.    IN  NO EVENT SHALL DIGITAL EQUIPMENT CORPORATION BE
          LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT,  OR  CONSEQUENTIAL
          DAMAGES  OR  ANY  DAMAGES  WHATSOEVER RESULTING FROM LOSS OF
          USE, DATA OR PROFITS, WHETHER  IN  AN  ACTION  OF  CONTRACT,
          NEGLIGENCE  OR  OTHER  TORTIOUS ACTION, ARISING OUT OF OR IN
          CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

          ------------------------------------------------------------


          If you have any questions, you can send mail to
                  decwrl!modula-2
          or
                  modula-2@decwrl.dec.com
          or
                  decwrl::modula-2


          This compiler has a number of internal  and  external  users
          and  we feel it is quite reliable.  However, new users often
          find new bugs so we expect to hear from some  of  those  who
          try  it.   No  promises  about  bug  fixes  or new releases,
          though.