[Oberon] An Oberon7 compiler for Linux.

Andreas Pirklbauer andreas_pirklbauer at yahoo.com
Thu Jul 14 22:40:21 CEST 2016


Srinivas,
obc is very nice piece work!
As for the modules Kernel.Mod, FileDir.Mod, Files.Mod and Modules.Mod, you should note that these 4 modules constitute the so-called Oberon "inner core". The inner core must be loaded in pre-linked format onto the disk's boot area from where it is loaded (at boot time) by the Oberon boot loader (BootLoader.Mod) byte for byte into main memory. Then the boot loader passes control to its top module (module Modules).
So, if you really want to be complete, you may also want port the "linker" (a program that pre-links the 4 modules of the inner core and makes a valid boot file from them) and the "builder" (a program that transfers the boot file to the disk's boot area) from https://github.com/andreaspirklbauer/Oberon-building-tools to run on Linux (or MacOS) as well.
Then you'd have a true cross-compile *and* bootstrap environment running on Linux.
Andreas Pirklbauer
-----------------------------------------------------------
Srinivas Nayak sinu.nayak2001 at gmail.com Thu Jul 14 10:54:51 CEST 2016Previous message: [Oberon] An Oberon7 compiler for Linux.Next message: [Oberon] An Oberon7 compiler for Linux.Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]Many many thanks to my Oberon friends,for their kind help and support.
How I use it:
Using this compiler, first I compile Kernel.Mod.txt, FileDir.Mod.txt etc.I gather the *.smb file and *.rsc file in my "obc" folder.Now my "obc" folder acts as an Oberon development environment!I can now create/modify/compile any Oberon module on Linux.And finally I can send the .Mod, .smb and .rsc file to Simulator to run it!
I hope, people like me, who are not having much of Oberon experience,will find it easy to develop their Oberon skills using this compiler.

With thanks and best regards,
Yours sincerely,Srinivas Nayak
Home: http://www.mathmeth.com/sn/Blog: http://srinivas-nayak.blogspot.in/
On 07/14/2016 01:45 PM, Srinivas Nayak wrote:> Dear All,>> Here is an Oberon7 compiler for Linux.> https://github.com/snayaksnayak/obc>> Now it acts like a cross compiler; running on x86 Linux> and generating code for FPGA RISC-5 processor.>> You can use this to compile Kernel.Mod.txt, FileDir.Mod.txt etc. on Linux;> and use the generated Kernel.smb, Kernel.rsc, FileDir.smb, FileDir.rsc etc.> on FPGA Oberon.>> [Initially tested OK on Peter De Wachter's Oberon Simulator]>> Your suggestions, opinions, bug reports are most welcome.> I shall be very happy if Paul mentions this github link on his website.>> :-)>>>> With thanks and best regards,>> Yours sincerely,> Srinivas Nayak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.inf.ethz.ch/pipermail/oberon/attachments/20160714/fe7ab061/attachment.html>


More information about the Oberon mailing list