[Oberon] Oberon System 4 on 64-bit operating system?

Bernhard Treutwein bernhard at wildwein.de
Tue Apr 1 14:15:30 CEST 2025


Hi Richard,

> I see you have been the maintainer of this Oberon System version!

I am not really a maintainer, but Robert Lichtenberger gave me 
administrative rights some years ago, when I motivated Claudio Nieder to 
mirror his source collection on SourceForge. The same happened to me 
almost 20 years ago for NativeOberon, wher Peter Muller also gave me 
adminstrative rights for NativeOberon on SF

> ...
>
> when trying to execute the “oberon” executable (with the
> correct +x flags), I still get the error message:
>
> …oberon: No such file or directory

this is caused by the wrong "interpreter" hidden in the executable.

> It seems that Linux (Ubuntu 22.04 LTS) still does not want to execute
> i386 executables.
>
> I then tried to rebuild the oberon executable and the wrapper library as
> x64 executables with
>
> make clean
> make all
>
> This worked correctly, except for some warnings of the compiler. Then I
> could also execute the “oberon” executable—but it immediately failed with
>
> 6858 Segmentation Fault $OBROOT/oberon

yes, the compiler errors are no warnings at all, if you compile it under 
a 64 bit Linux. The loader stub does ugly address to integer and vice 
versa conversions. Sorrily I am neither a C guru nor I know enough about 
Makefiles to adopt it to a current 64 bit architecture with support for 
32 bit executables. Any help from somebody with more experience with 
these topics is welcome, it should not be that difficult for somebody 
with more experience.

hope this helps a bit and someone knows how to help.

If we find a solution, I am happy to upload a 1.7.03 version to SF (or 
give you also admin rights) but we  must also find a better solution for 
the sob bash script (see also last section on 
https://sourceforge.net/p/oberon/wiki/Tools/).

--
   Bernhard



More information about the Oberon mailing list