Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!mcvax!ukc!dcl-cs!strath-cs!paisley!rh From: rh@cs.paisley.ac.uk (Robert Hamilton) Newsgroups: comp.sys.atari.st Subject: Re: Pexec cookbook! (w/ Lattice C) Message-ID: <369@paisley.ac.uk> Date: Mon, 24-Aug-87 10:10:07 EDT Article-I.D.: paisley.369 Posted: Mon Aug 24 10:10:07 1987 Date-Received: Wed, 26-Aug-87 04:38:42 EDT References: <816@atari.UUCP> <1792@uwmacc.UUCP> <404@ausmelb.oz.au> Reply-To: rh@cs.paisley.ac.uk (Robert Hamilton) Organization: Paisley College of Technology. Lines: 29 Keywords: Lattice, Metacomco In article <404@ausmelb.oz.au> whk@ausmelb.oz.au (Jim Kaubisch) writes: > > [ discussion about memory allocation ] >> >> Does anybody know exactly how I do this using Lattice C? The documentation >> (for version 3.04) is less than clear on this point, and everything I've >> tried hasn't worked. I have never really *needed* to give the extra 700K >> or so of memory back, but the sheer wastefulness of it annoys me (:-), and >> someday I may want to use that memory. I'd appreciate any pointers on the >> subject. I don't see the problem here... Cant you just set _mneed as described in the manual??? In fact I'm writing after trying out the latest version of lattice 3.04 Its very strange indeed. Most of the old lattice bugs have been fixed (20 file bug, redirection problem, malloc etc) and the debugger is very usable (macros already!) But I find that very often the linker crashes out !! Its not consistent either sometimes a bus, sometimes an address error. But the resultant prog is invariably ok! Trying a link with the old linker reports an "internal phase error" Very puzzling. Anybody come across this? -- JANET: rh@uk.ac.paisley.cs | Computing Science EMAIL: rh@cs.paisley.ac.uk | Paisley College UUCP: ...!seismo!mcvax!ukc!paisley!rh | High St., Paisley Phone: +44 41 887 1241 Ext. 219 | Scotland , PA12BE