On Tue, 21 Nov 2017 16:42:56 -0700
Warren Young <war...@etr-usa.com> wrote:

> [...]
> 
> There are some truly bletcherous C compilers in the embedded space.
> 
> I was trying to use one the other day that runs in 4 kwords of
> space.  Among its long list of misfeatures is that it will recognize
> a do/while loop, and it will produce assembly output for it, but the
> result either will not assemble or it won’t run correctly if you do
> manage to get it to assemble!

Well, I have some reservations about accepting that an embedded system
that has KB range restrictions would use SQLite. You won't compile
SQLite for an 8051 or PIC or 8-bit AVR. And if you're in the league of
M68K and up, gcc is there. Note the M68K is an almost 40 years old core.

If you have maintain a 10+ year old embedded system with a
non-mainstream chip, that was built using some weird compiler of *that*
day and which happened to use SQLite of *that* day, you can use the 10+
year old SQLite source, just as you have to use the 10+ year old
compiler to compile your own code for that system.

On the other hand, if you want to build an embedded system with SQLite
today, you would quite likely use a modern CPU (ARM chips are dirt
cheap, often cheaper than an 8-bitter) for which you can use a modern
compiler (e.g. gcc), so you're not restricted to C89 or earlier.

Regards,

Zoltan
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to