![]() ![]() |
![]() ![]() ![]() | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
Description:
Compiler -------- This is a simple but full-featured one-pass ETH compiler based on the original OOP compiler by Regis Crelier and modified to produce PPC code by Markus A. Hof. The original compiler runs on Oberon System 4 on a Power Mac. This version runs from the command line and will produce PPC ETH object and symbol files on any platform which has support for oo2c. OO2C is available for PPC BeOS from http://www.inspired.to/be. If anyone would like to modify the code to produce XCOFF output files and would like to work on the necessary runtime to get the object files linkable on PPC BeOS, please contact me. I have some additional runtime and loader source and would be happy to give advice on the porting effort. Invocation syntax is: Compiler [options] <oberon module> {[oberon module]}. The following command line options are supported: -h Print this text -d Show intermediate syntax tree -x Index check on -v Overflow check on -r Range check on -t Type check on -s Generation of new symbol file allowed -p Pointer initialization -n NIL pointer checks on read accesses -a Assert evaluation -f Find text position of breakpc -c Use PowerPC instruction set -w Suppress warning 301 The default options are -x -t -n -p -a -c. Adding these options to the command line will toggle the appropriate flags. Sorry, a "Make" facility isn't currently available. It may be possible to port the Oberon system Make to work from a command line, but I haven't investigated this possibility yet. NOTE: I haven't tested this compiler very much and don't plan to do so for this version. I will be producing another version which has a code generator for the PIC series of microcontrollers. This compiler may be useful to anyone porting the Oberon system to another PPC platform which doesn't currently have an Oberon System available. If this is the case, I have the full Oberon System source code, including the loader, so contact me at the email address above. This version of the source has been modified to work with the current set of OOC library modules. Decode ------ This utility is part of the Oberon System. It basically decodes the Obj output from the compiler to give a disassembled version of the object code and some additional information about symbolic references, pointers, etc. Invocation: Decode <oberon object> Disclaimer ---------- This compiler IS NOT supported in any way so if you can use it, great but I can't promise to fix any problems you may encounter. I am interested in hearing about bugs though, so please send me email. Mirror Download Sites:
If you have any questions about the information provided for a specific application, please e-mail the author. If you have any questions about the BeWare pages themselves, though, feel free to e-mail webmaster@be.com. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Copyright © 1999 by Be, Inc. All rights reserved. Legal information (includes icon usage info). Comments, questions, or confessions about our site? Please write the Webmaster. |