Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.compilers > #1577 > unrolled thread
| Started by | maximilian.spring@gmail.com |
|---|---|
| First post | 2015-07-30 21:20 -0700 |
| Last post | 2015-08-04 09:32 +0000 |
| Articles | 5 — 5 participants |
Back to article view | Back to comp.compilers
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
| From | maximilian.spring@gmail.com |
|---|---|
| Date | 2015-07-30 21:20 -0700 |
| Subject | old BEG Backend Generator for modern Linux? |
| Message-ID | <15-08-001@comp.compilers> |
I had used the backend generator BEG v1.75 by Helmut Emmelmann [1] for an Oberon-2 compiler as part of my computer science thesis in 1995. 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. I reached out to Helmut Emmelmann via the contact info from his web site [3], but haven't received any response. What other options should I look into? -Max [1] ftp://i44ftp.info.uni-karlsruhe.de/pub/mocka/linux/beg1.75-linux.lsm [2] https://github.com/m2spring/jacob [3] http://hei.biz/
[toc] | [next] | [standalone]
| From | George Neuner <gneuner2@comcast.net> |
|---|---|
| Date | 2015-08-02 16:36 -0400 |
| Message-ID | <15-08-004@comp.compilers> |
| In reply to | #1577 |
On Thu, 30 Jul 2015 21:20:41 -0700 (PDT), maximilian.spring@gmail.com wrote: >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. You might try using objcopy (GNU binutils) to convert to ELF. Disclaimers: 1) I've never tried it so I can't tell you how, and 2) there are multiple "a.out" formats - depending on what compiler produced it, there's no guarantee the file even will be recognized. George
[toc] | [prev] | [next] | [standalone]
| From | Nemo <nemo@invalid.invalid> |
|---|---|
| Date | 2015-08-04 13:10 -0400 |
| Message-ID | <15-08-008@comp.compilers> |
| In reply to | #1580 |
On 02/08/2015 16:36, George Neuner wrote: > On Thu, 30 Jul 2015 21:20:41 -0700 (PDT), maximilian.spring@gmail.com > wrote: > >> 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. I had problems even on older Linux systems. BEG linked against older libraries. > You might try using objcopy (GNU binutils) to convert to ELF. I shall look at this to see how they solve the problem of older libraries, thank you. N.
[toc] | [prev] | [next] | [standalone]
| From | Louis Krupp <lkrupp@nospam.pssw.com.invalid> |
|---|---|
| Date | 2015-08-02 14:44 -0600 |
| Message-ID | <15-08-005@comp.compilers> |
| In reply to | #1577 |
On Thu, 30 Jul 2015 21:20:41 -0700 (PDT), maximilian.spring@gmail.com wrote: >I had used the backend generator BEG v1.75 by Helmut Emmelmann [1] for an Oberon-2 compiler as part of my computer science thesis in 1995. > >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. > >I reached out to Helmut Emmelmann via the contact info from his web site [3], but haven't received any response. > >What other options should I look into? 1. Facebook: https://www.facebook.com/search/str/Helmut%2BEmmelmann/keywords_top It's the only way to reach some people and organizations. 2. Snail mail. You have to write a letter, and you have to address an envelope and buy a stamp, but once it's in the mail, you can forget about it. Louis
[toc] | [prev] | [next] | [standalone]
| From | anton@mips.complang.tuwien.ac.at (Anton Ertl) |
|---|---|
| Date | 2015-08-04 09:32 +0000 |
| Message-ID | <15-08-007@comp.compilers> |
| In reply to | #1577 |
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/
[toc] | [prev] | [standalone]
Back to top | Article view | comp.compilers
csiph-web