Xref: utzoo gnu.emacs:1463 comp.sys.hp:2732 Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!usc!ginosko!uunet!philmtl!philabs!sbcs!stark From: stark@sbcs.sunysb.edu (Eugene Stark) Newsgroups: gnu.emacs,comp.sys.hp Subject: Re: making Gnu Emacs on HP9000/340 Message-ID: <3391@sbcs.sunysb.edu> Date: 23 Aug 89 13:56:26 GMT References: <722@eecae.ee.msu.edu> Sender: news@sbcs.sunysb.edu Lines: 37 In-reply-to: harperb@eecae.ee.msu.edu's message of 22 Aug 89 17:06:24 GMT In article <722@eecae.ee.msu.edu> harperb@eecae.ee.msu.edu (Brett Harper) writes: > I am currently trying to make Gnu Emacs 18.54 under HP-UX 6.5. Things > seem to be going ok (with a few compilation warnings) until the linking > stage, when the following externals come up missing: > flag_fpa > fpa_loc > float_loc > > Does anyone have any idea what these are, are better yet where they are? > I am using m-hp9000s300.h and s-hpux.h as recommended in etc/MACHINES. > If I should be making a different version of emacs, I can do that too. I did this several months ago, and came across the same problem. These things are variables and constants that are defined in a new C run-time file that I think is called "end.o" or something, but I have really forgotten now. In any case, lacking the source to the HP C runtime start up files, I looked at the object code with a debugger, and eventually created the following file, which I called "hack.s": global float_loc set float_loc,0xFFFFB000 global fpa_loc set fpa_loc,0xFFF08000 bss global flag_fpa flag_fpa: space 4*1 Linking this file in at the end of emacs makes things work. I don't really like to do stuff like this, but since HP chose not to supply source for crt0.o and end.o, it was necessary to guess. Gene Stark SUNY at Stony Brook