Xref: utzoo gnu.emacs:1471 comp.sys.hp:2740 Path: utzoo!utgpu!watmath!uunet!tut.cis.ohio-state.edu!purdue!ames!uhccux!uwila!quonset.cfht.hawaii.edu!steve From: steve@quonset.cfht.hawaii.edu (Steven Smith) Newsgroups: gnu.emacs,comp.sys.hp Subject: Re: making Gnu Emacs on HP9000/340 Keywords: hp Message-ID: <253@uwila.cfht.hawaii.edu> Date: 23 Aug 89 23:12:23 GMT References: <2953@daimi.dk> <722@eecae.ee.msu.edu> Sender: news@uwila.cfht.hawaii.edu Lines: 89 Your fix worked fine for me, but I kept this fix around, never tried it though: Article 2403 of comp.sys.hp Path: uwila!uhccux!humu!nosc!helios.ee.lbl.gov!pasteur!ucbvax!hplabs!hp-pcd!hpvc fs1!ericr From: ericr@hpvcfs1.HP.COM (Eric Ross) Newsgroups: comp.sys.hp Subject: Re: Problem compiling gnuEmacs Date: 7 Jun 89 15:29:40 GMT References: <9223@boulder.Colorado.EDU> Organization: Hewlett Packard, Vancouver, WA Lines: 68 Here is the context diff that I use for 6.5 to define those globals. crt0.c has been a major thorn of incompatibility ever since Gnu Emacs has been ported to the Series 300. In any case this should fix your problem. Eric Ross Hewlett Packard, Vancouver Division ericr%hpvcper@hplabs.hp.com *** crt0.c Wed Apr 26 07:13:17 1989 --- crt0.c.orig Tue Aug 30 23:48:46 1988 *************** *** 446,455 #else /* new hp assembler */ asm(" text"); - asm(" set float_loc,0xFFFFB000"); - asm(" set fpa_loc,0xFFF08000"); - asm(" global float_loc"); - asm(" global fpa_loc"); asm(" global __start"); asm(" global _exit"); asm(" global _main"); --- 446,451 ----- #else /* new hp assembler */ asm(" text"); asm(" global __start"); asm(" global _exit"); asm(" global _main"); *************** *** 465,473 asm("skip_float:"); asm(" subx.w %d1,%d1"); asm(" mov.w %d1,flag_68010"); - asm(" add.l %d0,%d0"); - asm(" subx.w %d1,%d1"); - asm(" mov.w %d1,flag_fpa"); asm(" mov.l 4(%a7),%d0"); asm(" beq.b skip_1"); asm(" mov.l %d0,%a0"); --- 461,466 ----- asm("skip_float:"); asm(" subx.w %d1,%d1"); asm(" mov.w %d1,flag_68010"); asm(" mov.l 4(%a7),%d0"); asm(" beq.b skip_1"); asm(" mov.l %d0,%a0"); *************** *** 499,505 asm(" comm float_soft, 4"); asm(" comm flag_68881, 4"); asm(" comm flag_68010, 4"); - asm(" comm flag_fpa, 4"); #endif /* new hp assembler */ #endif /* hp9000s300 */ --- 492,497 ----- asm(" comm float_soft, 4"); asm(" comm flag_68881, 4"); asm(" comm flag_68010, 4"); #endif /* new hp assembler */ #endif /* hp9000s300 */ Steven S. Smith Canada-France-Hawaii Telescope Corp. PO Box 1597 Kamuela Hawaii 96743 (808) 885-7944 INTERNET steve@cfht.hawaii.edu FAX (808) 885-7288 TELEX 633147 CFHT