'PIC C Compiler, REENTRANT?'
> From: Victor Prieto <LGCIRSA.COM> vprieto
> I'm looking for a PIC C Compiler full ANSI Compatible
> (included re-entrant capabilities).
> Any recommendations?
Re-entrant routines are possible but not wise in many embedded
systems C compilers. The issue is RAM management. Most
programs that have re-entrant routines are not able to determine
RAM requirements at compile time. When this happens it is then
possible to run out of RAM at run time. Who does an embedded
application complain to when such an error occurs?
The last time I checked there were no C compilers for small
embedded micros registered as ANSI compatible. I have
run a number of embedded systems compilers claiming
ANSI compatibility through part of the standard ANSI tests and
found literally hundreds of exceptions
I currently sit on the Standards Council of Canada committee
for ISO C standards. A few years ago the international body
ISO adopted the ANSI-C specifications.
We (correctly) do not claim ANSI/ISO compatibility for a
number of reasons. Byte Craft has taken the narrow view
that ANSI/ISO compatibility means complete conformance
to the published standards.
The ANSI/ISO standard allows non hosted implementations
(embedded systems). There are problems with the ANSI/ISO
standard when it is applied to embedded systems. The most
significant problems are a uniform declaration of multiple
address spaces, I/O register declaration and standardized
embedded system libraries. A group of us have been working
on establishing solid workable ISO standards for embedded
systems. I am interested in comments from anyone on new
features and syntax for embedded ISO C.
(send me private email)
ANSI/ISO C is a standard that has both requirements and
limitations on implementation. Common embedded system
extensions like binary constants under the current ANSI/ISO
standards are not allowed.
The common requirement for ANSI/ISO C is portability and that
is one area that we have worked hard on. Most of the compilers
that claim ANSI/ISO compatability are really saying that they
support most of the conventional parts of the language.
At 10:07 AM 3/11/99 -0500, you wrote:
>> From: Victor Prieto <LGCIRSA.COM> vprieto
>> I'm looking for a PIC C Compiler full ANSI Compatible
>> (included re-entrant capabilities).
>> Any recommendations?
>Re-entrant routines are possible but not wise in many embedded
>systems C compilers. The issue is RAM management. Most
A recursive algorithm can be converted to a conventional non-recursive form
easily enough for most applications, and will use less stack space as well <G>
\ /---\ /
\ | | / Andy Kunz
\ /---\ / Montana Design
/---------+ +---------\ http://www.montanadesign.com
| / |----|___|----| \ |
\/___| * |___\/ Go fast, turn right,
and keep the wet side down!
More... (looser matching)
- Last day of these posts
- In 1999
, 2000 only
- New search...