Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!newstop!sun!imagen!atari!apratt From: apratt@atari.UUCP (Allan Pratt) Newsgroups: comp.sys.atari.st.tech Subject: Re: Porting from MWC code Message-ID: <2905@atari.UUCP> Date: 12 Apr 91 21:15:13 GMT References: <1840@mwca.UUCP> Organization: Atari Corp., Sunnyvale CA Lines: 33 bill@mwca.UUCP (Bill Sheppard) writes: >I'm in the process of attempting to recompile MicroEmacs 3.11 to make some >changes (remove mouse support so I can use within a CLI, for one). I will be doing that for Dan (making it truly conditional on the compile-time symbol "MOUSE") before the true 3.11 release. I tell you so you know you're probably duplicating the effort. >source code appears to expect Mark Williams C, but I'm using Sozobon (also >have Alcyon). So far I've seen two compilation (haven't tried linking yet) >errors: the structure DMABUFFER is expected in stat.h, the Sozobon stat.h >doesn't reference it, and "aesbind.h" is expected, which also isn't in the >Sozobon or dlibs distribution. Any ideas how these can be compensated for >or where I might find AES bindings (are they in another .h file?) This Emacs for the ST is GREAT, but the portability stuff is TERRIBLE. If you're on an ST, the code only works for ST520 and ATARI and MWC. If you want to do something different, like a different compiler, you're in for trouble. Basically, you should leave MWC and ATARI and ST520 defined and then and remove code as necessary for your compiler. DMABUFFER is the MWC name for the DTA structure; it's only used in getffile and getnfile. Substitute the DTA struct from your compiler (check osbind.h or make your own) and fix the field names in the defines that have "info" in them. As for aesbind.h, it might be called gem.h or gembind.h. It has the AES structure and constant definitions, the companion to vdibind.h. ============================================ Opinions expressed above do not necessarily -- Allan Pratt, Atari Corp. reflect those of Atari Corp. or anyone else. ...ames!atari!apratt