Article View: comp.sys.atari.st
Article #36658Re: Sozobon C compiler
From: Howard Chu
Date: Tue, 21 Feb 1989 07:43
Date: Tue, 21 Feb 1989 07:43
31 lines
2079 bytes
2079 bytes
I was going to try compiling ARC with Sozobon, to see if it would
produce any smaller/faster code than MWC, but I think I'm going to
abandon that idea now. The preprocessor won't handle boolean expressions
on #if lines correctly. e.g.
#if MACRO1 || MACRO2
generates the message "must be constant" or something to that effect.
It *really* doesn't like using an #undef'ed name either. My copy of K&R
doesn't really say very much about what the preprocessor is supposed to
do in those situations, so I guess it's more a problem for me, not a bug.
In any case, I guess I'm stuck with MWC until Turbo comes along, or maybe
if I can get decent library routines for GCC.
I just ordered and received the source code for the MWC library. Pretty
handy to have, since there seem to be some useful functions there that
I can't find anywhere in my 2.00 Lexicon, nor the 2.1 and 3.0.6 update
pages... Interesting to note that the library sources say they're for
3.0.9, but I've only heard of a 3.0.6 in their 3.0 release... Ah well.
Added a Unix-style setbuffer() to the stdio lib, using a 30K file buffer
in ARC seems to speed up ARC'ing on floppies by about 30%, for large files.
Not a bad gain for such a cheap addition... (But figure it at up to 90K
more memory required, when adding files to an existing archive it needs
at least 3 buffers.)
--
/
/_ , ,_. Howard Chu
/ /(_/(__ University of Michigan
/ Computing Center College of LS&A
' Unix Project Information Systems
Technical Details
Message-ID:
<576@stag.math.lsa.umich.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!um-math!hycReferences:
<785@cnetlu.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!um-math!hyc
From: hyc@math.lsa.umich.edu (Howard Chu)
Newsgroups: comp.sys.atari.st
Subject: Re: Sozobon C compiler
Keywords: bugs, problems
Message-ID: <576@stag.math.lsa.umich.edu>
Date: 21 Feb 89 07:43:23 GMT
References: <785@cnetlu.UUCP>
Sender: usenet@math.lsa.umich.edu
Reply-To: hyc@math.lsa.umich.edu (Howard Chu)
Organization: University of Michigan Math Dept., Ann Arbor
Lines: 31
UUCP-Path: {mailrus,umix}!um-math!hyc