Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!comp.vuw.ac.nz!martin From: Martin.Scharnke@comp.vuw.ac.nz (Martin Scharnke) Newsgroups: comp.lang.modula2 Subject: Re: Fitted Software Tools Modula-2 Compiler Question Message-ID: <1991May26.222219.23677@comp.vuw.ac.nz> Date: 26 May 91 22:22:19 GMT References: <8184.283BD989@puddle.fidonet.org> Sender: news@comp.vuw.ac.nz (News Admin) Organization: Computer Science, Victoria University, Wellington, NewZealand Lines: 56 Nntp-Posting-Host: barretts.comp.vuw.ac.nz Originator: martin@barretts.comp.vuw.ac.nz In article <8184.283BD989@puddle.fidonet.org>, Jon.Guthrie@p25.f506.n106.z1.fidonet.org (Jon Guthrie) writes: |> |> On a message of 19-May-91, Nathan Torkington (1:105/42.0) Said: |> |> > I have been experimenting with the Fitted Software Tools Modula-2 |> |> > Are the libraries, as distributed, intact? |> |> Yes. Not really - see below |> |> > There only appears to be the "huge" memory model in the M2LIB and UTL |> > files. That's right - if you want to use large you must recompile the source, which is only available (or should only be available) to registered users. |> |> > Can anyone point out what I'm doing wrong? |> Then you can use the enviroment variable M2MODEL to set which model to compile to, or specify it each time you compile something. |> The "huge" model is a C-language aberration. The FST Modula-2 |> compiler doesn't offer different memory models because Modula-2 |> doesn't need different memory models even for segmented architectures. |> (C needs different models because it treats pointers like funny |> integers so you need the option to trade generality for speed.) |> Wrong - it is brought about by the PC architecture. It is applicable to a wide variety of programming langauges - all that don't just execute in the tiny model (like BASIC). So in Modula 2, C, ASM, etc the model makes one heck of a difference. |> |> -- |> uucp: uunet!m2xenix!puddle!106!506.25!Jon.Guthrie |> Internet: Jon.Guthrie@p25.f506.n106.z1.fidonet.org _ || martin@comp.vuw.ac.nz ' )--,--, _/_ || Victoria University / / / __ __ / . _ || Wellington, New Zealand / / (_(_/|_/ (_(_(_/ ) || -- _ || martin@comp.vuw.ac.nz ' )--,--, _/_ || Victoria University / / / __ __ / . _ || Wellington, New Zealand / / (_(_/|_/ (_(_(_/ ) ||