Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!zephyr.ens.tek.com!uw-beaver!fluke!dcd From: dcd@tc.fluke.COM (David Dyck) Newsgroups: comp.os.minix Subject: Re: Unable to compile Elvis under 1.3d [asld out of memory] Summary: It works for me, and it's GREAT! Message-ID: <13707@fluke.COM> Date: 8 Jan 90 01:29:35 GMT References: <7601@nigel.udel.EDU> Sender: news@tc.fluke.COM Organization: John Fluke Mfg. Co., Inc., Everett, WA Lines: 46 In article <7601@nigel.udel.EDU> mbeck@ai.mit.edu (Mark Becker) writes: >I just tried compiling Elvis with Dave Brown's patch to vi.h and Oops, I didn't see his patch when I got it running, but it is similar to what I did. >move1.h . I also added "-i" to the makefile and "-T." after space on >the ram disk was exhausted. > >The C compiler cranks through all the modules.. but asld fails with an >out of memory message. > >Suggestions? Has anyone else successfully compiled this editor using >the Minix C compiler? Or might it have been done with a >cross-compile from DOS? > I just did this morning! It was GREAT to be able to vi tools/fsck.c as a whole file!!!!!. (I couldn't do this using stevie) Elvis defines most vi and ex commands, and includes ctags and a few other utilities. It seems to have a flexible copyright, that would probably allow it to be distributed with the official Minix. I suggest that all the vi fans really bang on this, I think it is MUCH better that stevie. I'll try to remember what I did. o I ran out of memory once with asld, but then I added the -i flag and it worked fine. (have you chmem'ed =64000 asld?) o There were some 'duplicate symbols (caused by only 7 significant characters used by the linker, so I edited vi.h to #define some of them to unique names (move[fb]se*, redrawp*, and v_shiftr*). o I changed the place temporary files were placed to /tmp (ram disk). Search for /usr/tmp in vi.h. o I needed to add a macro to define isascii(). Was isascii not allowed in POSIX?, or was it just an oversight that it is missing from ctype.h. I am running 1.5.0 on a 386 with a 1Mb ram disk on /tmp, and over 2 megs of ram left for user processes. David Dyck Domain: dcd@tc.fluke.COM Voice: +1 206 356 5807 UUCP: {uw-beaver,decwrl,microsof,sun}!fluke!dcd Snail: John Fluke Mfg. Co. / P.O. Box 9090 / Everett WA 98206-9090