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


Groups > comp.compilers > #1583

Re: old BEG Backend Generator for modern Linux?

Path csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news.iecc.com!.POSTED!nerds-end
From anton@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups comp.compilers
Subject Re: old BEG Backend Generator for modern Linux?
Date Tue, 04 Aug 2015 09:32:35 GMT
Organization Institut fuer Computersprachen, Technische Universitaet Wien
Lines 24
Sender news@iecc.com
Approved comp.compilers@iecc.com
Message-ID <15-08-007@comp.compilers> (permalink)
References <15-08-001@comp.compilers>
NNTP-Posting-Host news.iecc.com
X-Trace miucha.iecc.com 1438710561 16386 2001:470:1f07:1126:0:676f:7373:6970 (4 Aug 2015 17:49:21 GMT)
X-Complaints-To abuse@iecc.com
NNTP-Posting-Date Tue, 4 Aug 2015 17:49:21 +0000 (UTC)
Keywords history, tools
Posted-Date 04 Aug 2015 13:49:21 EDT
X-submission-address compilers@iecc.com
X-moderator-address compilers-request@iecc.com
X-FAQ-and-archives http://compilers.iecc.com
Xref csiph.com comp.compilers:1583

Show key headers only | 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