Newsgroups: comp.sys.handhelds
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!yale.edu!ox.com!math.fu-berlin.de!unidui!veit
From: veit@du9ds3.uni-duisburg.de (Holger Veit)
Subject: Re: C compiler for HP48SX
Message-ID: <veit.677832345@du9ds3>
Sender: @unidui.uni-duisburg.de
Organization: Rechenzentrum Uni-Duisburg
References: <NVxHUKy.677729692@l_eld07.icaen.uiowa.edu> <1991Jun24.210635.86948@vaxc.cc.monash.edu.au> <45094@netnews.upenn.edu>
Date: 25 Jun 91 06:45:45 GMT
Lines: 27

In <45094@netnews.upenn.edu> hoford@gynko.circ.upenn.edu (John Hoford) writes:

>In article <1991Jun24.210635.86948@vaxc.cc.monash.edu.au> apm279l@vaxc.cc.monash.edu.au writes:
>>In article <NVxHUKy.677729692@l_eld07.icaen.uiowa.edu>, caeaves@icaen.uiowa.edu (Cory A Eaves) writes:
>>> 
>>> I have looked all over for a C compiler for my new HP48SX, and I have drawn the
>>> conclusion one doesn't exist.
>>>...

I wonder whether the first idea which one to use was the "monster" GCC. Only
because it's free? It it obvious that this one is at least two categories to
large. But what about the "small-c" compiler. This one is also PD, lacks 
of course some constructs, e.g. floats, but is sufficient for standard purposes
(if you however want to port the MACH Kernel to the hp48, you probably cannot
avoid some rewriting :-).
Small-C was a long time ago ported to the Z80 for CP/M, a reasonable library
exists, a "portable" assembler is there, and there is also a version for 8086.
This may be a base for crafting a hp48 c-compiler.
Small-C was/is (?) available from simtel20 and elsewhere.

Holger

--
|  |   / Holger Veit             | INTERNET: veit@du9ds3.uni-duisburg.de
|__|  /  University of Duisburg  | BITNET: veit%du9ds3.uni-duisburg.de@UNIDO
|  | /   Fac. of Electr. Eng.    | UUCP:   ...!uunet!unido!unidui!hl351ge
|  |/    Dept. f. Dataprocessing | 
