Re: old BEG Backend Generator for modern Linux?

anton@mips.complang.tuwien.ac.at (Anton Ertl)
Tue, 04 Aug 2015 09:32:35 GMT

          From comp.compilers

Related articles
old BEG Backend Generator for modern Linux? maximilian.spring@gmail.com (2015-07-30)
Re: old BEG Backend Generator for modern Linux? gneuner2@comcast.net (George Neuner) (2015-08-02)
Re: old BEG Backend Generator for modern Linux? lkrupp@nospam.pssw.com.invalid (Louis Krupp) (2015-08-02)
Re: old BEG Backend Generator for modern Linux? anton@mips.complang.tuwien.ac.at (2015-08-04)
Re: old BEG Backend Generator for modern Linux? nemo@invalid.invalid (Nemo) (2015-08-04)
| List of all articles for this month |

From: anton@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups: comp.compilers
Date: Tue, 04 Aug 2015 09:32:35 GMT
Organization: Institut fuer Computersprachen, Technische Universitaet Wien
References: 15-08-001
Keywords: history, tools
Posted-Date: 04 Aug 2015 13:49:21 EDT

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/



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.