Searching \ for 'PIC C Compiler, REENTRANT?' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/languages.htm?key=c
Search entire site for: 'PIC C Compiler, REENTRANT?'.

Truncated match.
PICList Thread
'PIC C Compiler, REENTRANT?'
1999\03\11@100838 by Walter Banks

picon face
----------
> From: Victor Prieto <spam_OUTvprietoTakeThisOuTspamLGCIRSA.COM>
>
> 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.

Walter Banks
http://www.bytecraft.com

1999\03\11@120149 by Andy Kunz

flavicon
face
At 10:07 AM 3/11/99 -0500, you wrote:
>----------
>> From: Victor Prieto <.....vprietoKILLspamspam@spam@LGCIRSA.COM>
>>
>> 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

  \-----------------/
   \     /---\     /
    \    |   |    /          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
- Today
- New search...