*BSD News Article 24605


Return to BSD News archive

Newsgroups: comp.os.386bsd.apps
Path: sserve!newshost.anu.edu.au!munnari.oz.au!spool.mu.edu!howland.reston.ans.net!pipex!uknet!festival!edcogsci!richard
From: richard@cogsci.ed.ac.uk (Richard Tobin)
Subject: Re: [NetBSD-0.9] GNU Emacs 1[8,9].* unexec/dumping problems
Message-ID: <CHDvMD.8oM@cogsci.ed.ac.uk>
Organization: HCRC, University of Edinburgh
References: <2dj4bp$n8@Tut.MsState.Edu>
Date: Thu, 2 Dec 1993 01:18:13 GMT
Lines: 14

In article <2dj4bp$n8@Tut.MsState.Edu> cctony@sunvis1.vislab.olemiss.edu (Tony Reynolds) writes:
>My Net9 system (FTP'd from Agate) will compile emacs and dump it,
>but the resulting unexec'd/dumped binary isn't executable. The
>same source tree compiled/dumped on a Net8 system will be dump properly.

This is certainly a Frequently Asked Question.

The default a.out format has changed in 0.9.  You can either tell the linker
to produce an old-style a.out, or tell emacs about the new format by
adding "#define A_TEXT_OFFSET(HDR) sizeof (HDR)" to the s- file or
config.h.

-- Richard
--