Dear All, Problem seen: I am using Peter De Wachter's Oberon RISC Emulator on Linux. I am trying to compile the compiler itself. Found that ORP.Mod.txt gives a TRAP 4 at pos 6262, when compiled with the compiler available in RISC.img. I collected all these things from http://www.projectoberon.com My interest: I am trying to modify the compiler code and experiment. While compiling my modified compiler, I need to compare, how the compiler compiles itself and how it compiles my version. Also, I would like to compile and test Kernel.Mod etc. with my modified compiler. I am sure, I may make a mess of it while simultaneously learning and modifying code. If I make a mess of it, I would like to revert back to initial clean state. Help needed: Where can I find the latest, cleanly compiling, source code for the Oberon system where I can compile the compiler itself and then compile the rest of the modules starting from Kernel.Mod? It would be great if the RISC.img itself is created from this clean set of files. Possible solution: I hope, such a clean set of files would be there, if any of us have built the RISC.img compiling everything from scratch recently. With thanks and best regards, Yours sincerely, Srinivas Nayak Home: http://www.mathmeth.com/sn/ Blog: http://srinivas-nayak.blogspot.in/
-----Original Message----- From: Oberon [mailto:oberon-bounces@lists.inf.ethz.ch] On Behalf Of Srinivas Nayak Sent: Saturday, 9 July 2016 9:51 PM To: ETH Oberon and related systems Subject: [Oberon] Clean set of source files
Help needed: Where can I find the latest, cleanly compiling, source code for the Oberon system where I can compile the compiler itself and then compile the rest of the modules starting from Kernel.Mod?
The latest sources (last updated 4th July 2016) are on Prof Wirth's site: https://www.inf.ethz.ch/personal/wirth/ProjectOberon/Sources and mirrored on the Project Oberon site: http://www.projectoberon.com/ Regards, Chris Burrows CFB Software http://www.astrobe.com
Dear Chris, I collected ORS, ORB, ORG, ORP modules just now. ORP module still not compiling... Compiler present inside RISC.img is going into an infinite loop. :-( With thanks and best regards, Yours sincerely, Srinivas Nayak Home: http://www.mathmeth.com/sn/ Blog: http://srinivas-nayak.blogspot.in/ On 07/09/2016 06:14 PM, Chris Burrows wrote:
-----Original Message----- From: Oberon [mailto:oberon-bounces@lists.inf.ethz.ch] On Behalf Of Srinivas Nayak Sent: Saturday, 9 July 2016 9:51 PM To: ETH Oberon and related systems Subject: [Oberon] Clean set of source files
Help needed: Where can I find the latest, cleanly compiling, source code for the Oberon system where I can compile the compiler itself and then compile the rest of the modules starting from Kernel.Mod?
The latest sources (last updated 4th July 2016) are on Prof Wirth's site:
https://www.inf.ethz.ch/personal/wirth/ProjectOberon/Sources
and mirrored on the Project Oberon site:
Regards,
Chris Burrows CFB Software http://www.astrobe.com
-- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
Many thanks Chris. Peter De Wachter's latest code from git contains a Oberon Disk. That compiler is able to compile the latest compiler code from NW. :-) Best part is, that Oberon Disk also contains a complete set of source files. That can be the initial clean snapshot. Many thanks to Peter De Wachter. With thanks and best regards, Yours sincerely, Srinivas Nayak Home: http://www.mathmeth.com/sn/ Blog: http://srinivas-nayak.blogspot.in/ On 07/09/2016 08:27 PM, Srinivas Nayak wrote:
Dear Chris,
I collected ORS, ORB, ORG, ORP modules just now. ORP module still not compiling... Compiler present inside RISC.img is going into an infinite loop.
:-(
With thanks and best regards,
Yours sincerely, Srinivas Nayak
Home: http://www.mathmeth.com/sn/ Blog: http://srinivas-nayak.blogspot.in/
On 07/09/2016 06:14 PM, Chris Burrows wrote:
-----Original Message----- From: Oberon [mailto:oberon-bounces@lists.inf.ethz.ch] On Behalf Of Srinivas Nayak Sent: Saturday, 9 July 2016 9:51 PM To: ETH Oberon and related systems Subject: [Oberon] Clean set of source files
Help needed: Where can I find the latest, cleanly compiling, source code for the Oberon system where I can compile the compiler itself and then compile the rest of the modules starting from Kernel.Mod?
The latest sources (last updated 4th July 2016) are on Prof Wirth's site:
https://www.inf.ethz.ch/personal/wirth/ProjectOberon/Sources
and mirrored on the Project Oberon site:
Regards,
Chris Burrows CFB Software http://www.astrobe.com
-- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
I am trying to compile the compiler itself. Found that ORP.Mod.txt gives a TRAP 4 at pos 6262, when compiled with the compiler available in RISC.img.
Trap 4 is caused by dereferencing a NIL pointer. (Traps are listed in section 12.7.10 . If you're trying to build the entire compiler in a single command ("ORP.Compile ORS.Mod ORB.Mod ORG.Mod ORP.Mod ~"), this might be caused by the system simply running out of memory. If no memory is available, NEW returns a NIL pointer, which leads quickly to a trap 4. This is easy to trigger with large compile jobs because the garbage collector will not run until the command has completed.
participants (3)
-
Chris Burrows -
Peter De Wachter -
Srinivas Nayak