[Oberon] Compiling Original Oberon in (Unix)Aos?

Guenter Feldmann fld at informatik.uni-bremen.de
Mon Jan 25 11:57:56 CET 2016


On 01/24/16 11:38 PM, Eric Scharff wrote:
> (Sorry once again for a newbie question)
> Short version: How can I compile a non A2 (either Oberon or Oberon-2) module in Aos?
> I'm trying to compile a basic hello world in UnixAos:
> MODULE E1 IN Oberon;
> IMPORT Texts, Oberon;
> VAR W :Texts.Writer; PROCEDURE Hi*;BEGIN Texts.WriteString(W, "Hola"); Texts.WriteLn(W); Texts.Append(Oberon.Log, W.buf)END Hi;
> BEGIN Texts.OpenWriter(W);END E1.
> I'm trying to build this from within the "Oberon" subsystem.  Under the "Compile" menu is Builder.Compile * and PC.Compile *
> Launching "Builder.Compile *" or "Compiler.Compile *" launches the Oberon Portable Compiler, which fails (it doesn't seem to understand the Active Oberon Syntax)
> Building with PC.Compile doesn't fare any better, but I get a different error:
> Parallel Compiler / prki386 code generator installedcompiling E1 ... not done  pos 35 err 152  Oberon-Texts symbol file of imported module not found  pos 43 err 152  Oberon-Oberon symbol file of imported module not found

Hi Eric,

in the long period form 1989 to today the Oberon language as well
as the object file format got some improvements. Some of them are
incompatible. Therefore the old compiler and builder in the
Oberon subsystem don't work any more, but they have to stay as
parts of the old compiler get imported by modules belonging to
other parts of the system.

You can compile your module with the compiler in Aos and then
start it in the Oberon subsystem.

-- Günter

-- 
---------------------------------------------------------------------
Günter Feldmann c/o Universität Bremen     | Tel.: +49 421 218-63880
Fachbereich 3, Mathematik und Informatik   | Büro und Lieferadresse:
D-28334 Bremen, Bibliotheksstr. 1          | Gebäude MZH, Raum 2360
---------------------------------------------------------------------




More information about the Oberon mailing list