[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gm2] GM2 in embedded systems
From: |
Gaius Mulley |
Subject: |
Re: [Gm2] GM2 in embedded systems |
Date: |
Wed, 04 Mar 2009 20:14:00 +0000 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
John O Goyo <address@hidden> writes:
> Gaius Mulley wrote:
> [...]
>> On a minor note gm2 has been build as a cross compiler for the
>> ATMega8 microprocessor, albeit coroutines were not used on this
>> chip,
>
> This thread raises the issue of exceptions (bad pun intended).
>
> Exceptions may not be appropriate in all embedded systems (especially
> the wee ones based on the BIG LOOP). GM2 now has exceptions. How do
> you envisage this working out?
Hi John,
I had in mind that the 'gm2/gm2-libs-min' library would be updated to
include empty stubs (if absolutely necessary). It might also be
necessary to include another command line switch to disable code
generation of exceptions. However before these changes are made it
would be interesting to see the amount of extra code used when linking
an otherwise null project,
regards,
Gaius