Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!overload!dillon From: dillon@overload.UUCP (Matthew Dillon) Newsgroups: comp.sys.amiga.tech Subject: Re: Compiling DME Message-ID: Date: 10 Jun 90 23:46:18 GMT References: <9986@chaph.usc.edu> <10034@chaph.usc.edu> <5792@sugar.hackercorp.com> Lines: 45 >> of my new code uses suplib anymore and will all be compilable with >Sounds good, but I hope you don't end up with a little Matt Dillon universe of >programs that only work compiled with DICE. I'm sure you've got plenty of >opportunity to test & compare against lattice and aztec, but I thought I'd >give you a poke anyway... just in case, you know... >-- > _--_|\ Peter da Silva . One of the main reasons for a parallel shareware distribution is to get rid of all the little compatibility problems and bugs before the commercial distribution. To whit, the shareware distribution is a pre-test. DICE currently has only standard ANSI functions and a few lattice-specific functions for compatibility (like getfnl). As far as non-portable compiler features go there are only two really: (1) The '_autoinit' storage class as part of a subroutine declaration automatically calls the subroutine from c.o (before _main), and (2) The automatic openning/closing of several standard libraries if you reference a base variable but do not declare it (the latter feature will be used mainly to support floating point via the amiga libraries and other items without requiring a single byte of extra code in c.o) I'll probably get a couple more shareware dists out before the commercial. For example, I've just completed new optimizations on logic and arithmatic operations that forward traverse through the expression tree, so an expression like: short a, b, c; a = (b + c) & (b ^ c); will generate code that uses word operations throughout instead of casting arguments to longs first (due to the storage being a short). Such optimizations make a huge difference in embedded C applications which use byte/word operations the majority of the time. -Matt -- Matthew Dillon uunet.uu.net!overload!dillon 891 Regal Rd. Berkeley, Ca. 94708 USA