Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!uunet!seismo!ut-sally!husc6!cmcl2!beta!dph
From: dph@beta.UUCP (David P Huelsbeck)
Newsgroups: comp.lang.modula2
Subject: Re: Modula-2 for UNIX System V
Message-ID: <7495@beta.UUCP>
Date: Wed, 15-Jul-87 11:11:09 EDT
Article-I.D.: beta.7495
Posted: Wed Jul 15 11:11:09 1987
Date-Received: Fri, 17-Jul-87 05:51:02 EDT
References: <8707081024.AA21949@cayuga.cs.rochester.edu> <473@ivax.doc.ic.ac.uk>
Reply-To: dph@lanl.gov (David P Huelsbeck)
Distribution: world
Organization: Los Alamos Natl Lab, Los Alamos, N.M.
Lines: 40

In article <473@ivax.doc.ic.ac.uk> you write:
>In article <8707081024.AA21949@cayuga.cs.rochester.edu> Patrik Eschle writes:
>
>>>Does anyone know of a Modula-2 compiler for UNIX System V, and specifically
>>>one that will work with an AT&T 3B2/300? --Roger Terrell
>>
>>There exixsts one, called MODULA-2/68 for 68xxx processors. Systems

[...]

>
>We have recently this compiler for our Sun 3/50s.  [We bought it via

[...]

>
>The compiler still has some bugs, and doesn't interface to C terribly
>well [the parameters are REVERSED !!].  

[...]

I spent some time using this compiler this spring.
It seemed like a very nice package with some good provisions
for setting up directory paths to be searched for modules 
not found in the current directory and some other nice features.
However to say that it "doesn't interface to C terribly well"
is probably being nice. Check the M2 representation of real numbers
against that for C. As I recall they're quite different. This means
that the real values returned from system calls must be twiddled to
be used by M2. The manual also gave a lot of information about the
"+g" option (or something like that) to allow symbolic debuggers
to be used. However in a small paragraph in the last two or three
pages they explain that dbx doesn't really support *all* of the
M2 data structures so the +g option has been turned off on all UNIX
releases. :-(


	David Huelsbeck
	dph@lanl.gov.arpa
	{ihnp4,cmcl2}!lanl!dph