Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!hplabs!hp-pcd!hpvcfs1!ericr From: ericr@hpvcfs1.HP.COM (Eric Ross) Newsgroups: comp.sys.hp Subject: Re: Problem compiling gnuEmacs Message-ID: <2700003@hpvcfs1.HP.COM> 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 */