Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!im4u!ut-sally!utah-cs!utah-gr!stride!stride1!mitch From: mitch@stride1.UUCP Newsgroups: comp.emacs Subject: Re: GnuEmacs on Data General ? Message-ID: <671@stride.Stride.COM> Date: Wed, 20-May-87 19:29:56 EDT Article-I.D.: stride.671 Posted: Wed May 20 19:29:56 1987 Date-Received: Sat, 23-May-87 01:50:06 EDT References: <8705180121.AA08181@icst-cmr.arpa.ARPA> Sender: news@stride.Stride.COM Reply-To: mitch@stride1.UUCP (Thomas P. Mitchell) Distribution: world Organization: MicroSage Comp. Sys. Inc., 680 S. Rock Blvd, Reno, NV 89502 Lines: 24 In article <8705180121.AA08181@icst-cmr.arpa.ARPA> rbj@ICST-CMR.ARPA (Root Boy Jim) writes: >? Two final things, that are important. DG stacks grow the oppisite direction >? as most other UNIX machines, so there may be all sorts of assumptions about >? stack growth (though I suspect if it runs on a pyramid, there may not be). Jim, These lines (greped) from Gnu Emacs sources should clear your doubt stack. TAGS:find_stack_direction alloca.c:#ifndef STACK_DIRECTION alloca.c:-- must know STACK_DIRECTION at compile-time alloca.c: Define STACK_DIRECTION if you know the direction of stack alloca.c: STACK_DIRECTION > 0 => grows toward higher addresses alloca.c: STACK_DIRECTION < 0 => grows toward lower addresses alloca.c: STACK_DIRECTION = 0 => direction of growth unknown alloca.c: find_stack_direction (); m-att3b.h:#define STACK_DIRECTION 1 m-gould.h:#define STACK_DIRECTION -1 /* grows towards lower addresses on Gould UTX/32 */ m-wicat.h:#define STACK_DIRECTION -1 /* grows towards lower addresses on WICAT */ Thomas P. Mitchell (mitch@stride1.Stride.COM) Phone: (702) 322-6868 TWX: 910-395-6073 MicroSage Computer Systems Inc. a Division of Stride Micro. Opinions expressed are probably mine.