Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!decwrl!stanford.edu!eos!data.nas.nasa.gov!mustang!nntp-server.caltech.edu!tll From: tll@nntp-server.caltech.edu (Tal Lewis Lancaster) Newsgroups: comp.sys.amiga.programmer Subject: Re: SAS gripes (was New Eiffel-like OOP language) Message-ID: <1991Jun27.160657.3571@nntp-server.caltech.edu> Date: 27 Jun 91 16:06:57 GMT References: <1991Jun16.063222.1304@csis.dit.csiro.au> <1991Jun17.161534.323@nntp-server.caltech.edu> <15547@exodus.Eng.Sun.COM> <1991Jun21.164424.3364@nntp-server.caltech.edu> Organization: California Institute of Technology, Pasadena Lines: 41 Jay@deepthot.cary.nc.us (Jay Denebeim) writes: >In article <1991Jun21.164424.3364@nntp-server.caltech.edu> tll@nntp-server.caltech.edu (Tal Lewis Lancaster) writes: >> >>This is not true. Lattice/SAS and Manx compilers can not support function >>calls more than 32K away in the same object file!!! If you attempt it under >>SAS you will be visited by a CXERR: 29. I have confirmed these limitations >>with both companies! >> >RTFM! Don't use the small memory model if you need modules bigger than >32K. I won't mention that its silly to have modules that big, I assume >you're just doing that as a test. Anyone working on serious code >makes the modules small so that they're easy to work with. I am NOT using the small memory model, I am using the large memory model. If, I was generating the C code, then yes my modules would be smaller so they would be easier to maintain. But I am using C as an intermediate language and the code isn't meant for human consumption. And so I am needing to genterate object code on the order of 80K for each module. Now eventually, when I am ready to support the SAS compiler, I will have to do a major rewrite of my compiler to generate <32K modules. But, this will have to wait until I have the source for the compiler in its native language. So mean-while I have to use gcc (and pretty soon DICE) to compile my intermediate code because nothing else will. The down side is now I have a 1.2M executable that I am unable source level debug because neither gcc nor DICE have one. >> >>Tal Lancaster >-- > |_o_o|\\ > |. o.| || The Jay Denebeim > | . | || Software > | o | || Distillery > | |// Address: UUCP: mcnc.org!deepthot.uucp!jay > ====== Internet: jay@deepthot.cary.nc.us > BBS:(919)-460-7430 VOICE:(919)-460-6934 Tal Lancaster