----- Ursprüngliche Nachricht -----
Von: Frédéric Sureau
Gesendet am: 19 Okt 2010 16:44:45

> For example, the Contiki OS (dedicated to Wireless Sensor Networks)
> proposes a solution to dynamically link and relocate native code (in
> ELF format) in microcontrollers.

> One of the arguments of the author is that position independent code
> is not supported by MSP compilers. But this article was written 4
> years ago...

Well, there is no VisualC++ compiler for my old C64 too. Bad compiler. :)

Dynamic linking and relocating code is something that 
(besides plain academic curiosity) isn't suited for MSPs.
If you do it on a portable x86 based system or one of the other
multi-MHz many-MB 'microcontroller' systems out there, it will
surely be useful. But on a system architecture with a maximum of 256kb
flash (currently) and 18kb ram, and only up to 25MHz (usually much less),
it is simply stupid to even imagining such a thing.
It's like trying complex FFT analysis of HF signals doing floating-point
arithmetic on an MSP. And then blaming the compiler for bad optimizing.

JMGross


------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Mspgcc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to