And if we really want to go this way, it's possible to put version in ASM
without wasting code space (because now, it would be a waste :)). Just use
"_debug" statement. This prints message in ASM files (I thought it required
-debug option from compiler, but it seems to work without it).

Put this statement in a blink sample to test:

_debug "revision 1234"


you'll get this in .asm file:

; 16f88_blink.jal
;   26 _debug "revision 1234"



Not needed anyway, but...


Cheers,
Seb

2009/10/10 Joep Suijs <[email protected]>

> Hi William,
>
> >I don't want to see extra code generated for every library
> Well... one code takes less code space and might be easier to implement. It
> does however provide less detail, especially for people using svn as a
> source and in cases with multiple libraru versions installed.
>
> > that seems wasteful of code space.
> I think it is *use* of code space rather then waste, since you get
> something in return. And to put this into perspective: we have less then 80
> libraries, excluding the device files. Most projects will probably use
> between 5 and 20 libraries, so the signatures will take less then 0,5% of
> the code space. And if you need these last few bytes, you could disable it.
>
> Of course, it would be better if we found a way to get the message in the
> asm file as comment without actual code.
>
> Joep
>
>
> >
>


-- 
Sébastien Lelong
http://www.sirloon.net
http://sirbot.org

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to