Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.compilers > #1583

Re: old BEG Backend Generator for modern Linux?

From anton@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups comp.compilers
Subject Re: old BEG Backend Generator for modern Linux?
Date 2015-08-04 09:32 +0000
Organization Institut fuer Computersprachen, Technische Universitaet Wien
Message-ID <15-08-007@comp.compilers> (permalink)
References <15-08-001@comp.compilers>

Show all headers | View raw


maximilian.spring@gmail.com writes:
>Trying to resurrect this old code base [2], I run into the problem
that the original BEG binary which I still have is in an old a.out
format, and I have been unsuccessful so far to get it to run on a
modern Linux.

In my experience, to run an a.out binary, you need the corresponding
shared libraries from that time (libc4 etc.).  One way to get that may
be to install an old Linux distribution in a virtual machine (chroot
is not good enough in my experience), and run your binary there.

I just tried out a few old binaries I have.  All ZMAGIC binaries I
tried crashed right away (not a single system call between execve and
the SIGSEGV), while the QMAGIC binaries have a better chance of
working.  Some seem to work fine, others crash, but execute some
system calls before crashing; I have libc4 etc. among the libraries,
otherwise only statically linked binaries would work.

- anton
--
M. Anton Ertl
anton@mips.complang.tuwien.ac.at
http://www.complang.tuwien.ac.at/anton/

Back to comp.compilers | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

old BEG Backend Generator for modern Linux? maximilian.spring@gmail.com - 2015-07-30 21:20 -0700
  Re: old BEG Backend Generator for modern Linux? George Neuner <gneuner2@comcast.net> - 2015-08-02 16:36 -0400
    Re: old BEG Backend Generator for modern Linux? Nemo <nemo@invalid.invalid> - 2015-08-04 13:10 -0400
  Re: old BEG Backend Generator for modern Linux? Louis Krupp <lkrupp@nospam.pssw.com.invalid> - 2015-08-02 14:44 -0600
  Re: old BEG Backend Generator for modern Linux? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-08-04 09:32 +0000

csiph-web