Xref: utzoo comp.sys.next:13280 comp.lang.scheme:1992 comp.os.mach:792 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!yale!mintaka!snorkelwacker.mit.edu!apple!well!rapa@well.sf.ca.us From: rapa@well.sf.ca.us (Ralph A. Phraner) Newsgroups: comp.sys.next,comp.lang.scheme,comp.os.mach Subject: ELK on NeXT 2.0 Message-ID: <23326@well.sf.ca.us> Date: 25 Feb 91 20:12:50 GMT Sender: rapa@well.sf.ca.us Distribution: na Organization: Ralph A. Phraner & Assoc. Lines: 23 Getting ELK 1.0 to dump a binary executable file and dynamically load binary objects on NeXT 2.0 requires rewriting the code to change the usage of the BSD a.out object layout to Mach format. In NeXT 2.0 Mach the loader symbolic crutches _end, _etext and _edata have apparently been removed. If anyone has already ported ELK to the NeXT or developed these facilities, a copy of the source diffs by email would save me some time. Also, it would be useful to hear experiences of those who have ported similar projects from BSD to Mach, especially in regard to strategies employed in replacing uses of the exec structure, brk and sbrk with Mach constructs. If I do the port, I'll send the diffs to Oliver Laumann and, if there is sufficient interest, publish them to comp.lang.scheme. By the way, does anyone know if ELK release 1.0 is the latest and greatest? Ralph Phraner (rapa@well.sf.ca.us) Brought to you by Super Global Mega Corp .com