Article View: comp.sys.amiga.tech
Article #58Lattice Limits (was: Re: GNU's ANSI C compiler)
From: Steve Schoettler
Date: Thu, 15 Jun 1989 19:53
Date: Thu, 15 Jun 1989 19:53
43 lines
2374 bytes
2374 bytes
In article <0857.AA0857@chroma> bryan@chroma.UUCP (Bryan Ford) writes:
>In <18938@cup.portal.com>, (Thad P Floryan) writes:
>>2) (red-faced) I was informed by another person the "large" compiler model of
>> Lattice 5.02 does not have the 512-byte "#define" limit...
>
>Hmmm...I didn't know this! Where does it say? Has the 256-byte (or
>something like that) limit on string constants been removed, or at least
>increased, as well?
> Bryan
Here's the real story (I've been using Lattice 5.02) :
lc1b has bigger limits than lc1, but they're still not big enough.
(One of my include files has a 150 line #define!)
So, no biggie, I thought, just port the GNU pre-processor, and get around
the #define limits of Lattice. Well, that worked, but I ran into
other limitations: string constants and expressions.
These limits also seem to be higher in lc1b, but still not big enough.
I don't know why they can't handle if() statements with 50 terms in them!
Manx and Lattice have let me down. I would prefer to use the Amiga for
code development, but the only "industrial" C compilers I can find
are on commercial unix boxes.
I don't usually flame on usenet, but there's no reason why the Amiga C
compilers have to remain toys. Lattice has a lot of experience making
compilers. Do they start over from scratch with each new machine port?
PLEA: Give me a compiler with no limits! Use the HUGE BIG MONGO model;
Use as much memory as my machine has to store strings, #defines,
expressions, symbols, etc. Handle .o files >32K.
I didn't buy the memory for nothing.
Then, get the code right before you get it optimized.
Thanks,
Steve
--
Steve Schoettler
shs@uts.amdahl.com
{sun,decwrl,pyramid,ames,uunet}!amdahl!shs
Amdahl Corp., M/S 213, 1250 E. Arques Ave, Sunnyvale, CA 94088
Technical Details
Message-ID:
<73y=02SL35F701@amdahl.uts.amdahl.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!sun-barr!ames!amdahl!shsReferences:
<0857.AA0857@chroma>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!sun-barr!ames!amdahl!shs From: shs@uts.amdahl.com (Steve Schoettler) Newsgroups: comp.sys.amiga.tech Subject: Lattice Limits (was: Re: GNU's ANSI C compiler) Summary: when do we get a real compiler? Message-ID: <73y=02SL35F701@amdahl.uts.amdahl.com> Date: 15 Jun 89 19:53:55 GMT References: <0857.AA0857@chroma> Reply-To: shs@amdahl.uts.amdahl.com (Steve Schoettler) Organization: Amdahl Corporation, Sunnyvale CA Lines: 43