[Oberon] LNO/LBB Object code

Peter Matthias PeterMatthias at web.de
Fri Sep 16 14:26:10 CEST 2005


Am Freitag, 16. September 2005 12:39 schrieb Edgar Schwarz:
> Hi,
> I have a question to our compiler specialists :-)
> LNO uses a little bit of glue code to connect to a Linux framebuffer,
> keyboard, filesystem, ...
> Otherwise it's bootcode is written and compiled with NO. Then a small
> programm converts the Oberon object
> to ELF. My impression is that perhaps some ELF header info is added but
> that the code itself is unchanged.
> This is all it seems to allow any other NO compiled code to be executed
> with LNO.

LNO and NO already use the same Object code! ELF format is only needed to 
start the statically linked inner core of Oberon.

> Now I would like to make a LinuxBlueBottle (LBB) which means to preserve
> this concept.
>
> So my question is whether there are any obvious problems concerning
> perhaps:
> - Changed object format from NO to BB ?
> - Compiler.Compile -> PC.Compile ?
> - Any other caveats ?

The question is whether NO and BB use the same (or at least compatible) ABI. 

> Perhaps this could even easier than using SDL (http:// www.libsdl.org).
> Or perhaps SDL would even match with the LNO concept ?

I think SDL is only source code compatible, not binary...

Peter



More information about the Oberon mailing list