OpenBSD Journal

Experimental Support for a.out on ELF

Contributed by jose on from the backwards-compatability dept.

Marc Espie has prepared a patch for a.out support on ELF architectures. Specifically, this is a kernel patch which establishes an emulation layer to allow for ELF architectures to run dynamically linked a.out binaries. For people transitioning from a.out to ELF (such as i386 users who track -current), this could be useful. This is a patch for testing, so if you're feeling cutting edge try it out and help get it ready for prime time.

(Comments are closed)

  1. By Ray () on

    Does this mean that we can continue to run Mozilla (and now Phoenix/Firebird)?

    1. By Kurt () on

      Jason Ish's update to redhat base and opera 6.12 seem to be the sweet spot right now acording to posts at ports@...

    2. By tedu () on

      yes, it will still work.
      you can build ELF mozilla, but you can't run it. and you can run a.out mozilla, but you can't build it. funny.

      1. By mirabile () on

        You can't use WineX either. I've played around
        with crtbegin/crtend tho, maybe Mozilla would
        work on my system.
        OTOH I don't like it, so I won't try it out *hehe*

  2. By Jeffrey () on

    Yay! Using it in order to run w3m. The reason for this is that devel/boehm-gc, which w3m needs seems to be slightly broken in the move to ELF.

    I better send a success report to Espie...

    1. By Anonymous Coward () on

      If you read ports@, you will see that it is a known problem and "it has more or less been
      broken for all ELF platforms. There is no fix yet" -- Peter Valchev

      1. By Jeffrey () on

        Right, I saw that post to the list (and your reply).
        At least, in this case for w3m, this is a funcional
        workaround. No biggie.

        Yay! =)
        I can't live without w3m ;)
        In fact, I'm using it now to post this.
        So, this a.out emulator will be useful
        for me.

Latest Articles


Copyright © - Daniel Hartmeier. All rights reserved. Articles and comments are copyright their respective authors, submission implies license to publish on this web site. Contents of the archive prior to as well as images and HTML templates were copied from the fabulous original with Jose's and Jim's kind permission. This journal runs as CGI with httpd(8) on OpenBSD, the source code is BSD licensed. undeadly \Un*dead"ly\, a. Not subject to death; immortal. [Obs.]