<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div dir="ltr">I can do that with the Compile button in PET, but is there another way? What would be the Aos compiler invocation? (I want to replace the "Builder.Comple *" command in System3.Tool to do something reasonable....</div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"><font size="2" face="Arial"> On Monday, January 25, 2016 5:58 AM, Guenter Feldmann <fld@informatik.uni-bremen.de> wrote:<br></font></div> <br><br> <div class="y_msg_container">On 01/24/16 11:38 PM, Eric Scharff wrote:<div class="yqt2966124122" id="yqtfd91219"><br clear="none">> (Sorry once again for a newbie question)<br clear="none">> Short version: How can I compile a non A2 (either Oberon or Oberon-2) module in Aos?<br clear="none">> I'm trying to compile a basic hello world in UnixAos:<br clear="none">> MODULE E1 IN Oberon;<br clear="none">> IMPORT Texts, Oberon;<br clear="none">> VAR W :Texts.Writer; PROCEDURE Hi*;BEGIN Texts.WriteString(W, "Hola"); Texts.WriteLn(W); Texts.Append(Oberon.Log, W.buf)END Hi;<br clear="none">> BEGIN Texts.OpenWriter(W);END E1.<br clear="none">> I'm trying to build this from within the "Oberon" subsystem. Under the "Compile" menu is Builder.Compile * and PC.Compile *<br clear="none">> Launching "Builder.Compile *" or "Compiler.Compile *" launches the Oberon Portable Compiler, which fails (it doesn't seem to understand the Active Oberon Syntax)<br clear="none">> Building with PC.Compile doesn't fare any better, but I get a different error:<br clear="none">> 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</div><br clear="none"><br clear="none">Hi Eric,<br clear="none"><br clear="none">in the long period form 1989 to today the Oberon language as well<br clear="none">as the object file format got some improvements. Some of them are<br clear="none">incompatible. Therefore the old compiler and builder in the<br clear="none">Oberon subsystem don't work any more, but they have to stay as<br clear="none">parts of the old compiler get imported by modules belonging to<br clear="none">other parts of the system.<br clear="none"><br clear="none">You can compile your module with the compiler in Aos and then<br clear="none">start it in the Oberon subsystem.<br clear="none"><br clear="none">-- Günter<br clear="none"><br clear="none">-- <br clear="none">---------------------------------------------------------------------<br clear="none">Günter Feldmann c/o Universität Bremen | Tel.: +49 421 218-63880<br clear="none">Fachbereich 3, Mathematik und Informatik | Büro und Lieferadresse:<br clear="none">D-28334 Bremen, Bibliotheksstr. 1 | Gebäude MZH, Raum 2360<div class="yqt2966124122" id="yqtfd10395"><br clear="none">---------------------------------------------------------------------<br clear="none"><br clear="none"><br clear="none"></div><br><br></div> </div> </div> </div></div></body></html>