Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » AVR-GCC
  • » [avr-gcc-list] the dynamic shared library in avr-gcc [RSS Feed]

#1 Nov. 3, 2005 19:51:24

임.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[avr-gcc-list] the dynamic shared library in avr-gcc


Hi, I want use the dynamic shared library in avr-gcc.But avr-gcc can't use "-shared" options.why does not avr-gcc support "-shared" options?Is there another method to use the dynamic shared
library? Thank you.  _______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.orghttp://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Offline

#2 Nov. 3, 2005 20:10:29

Eric W.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[avr-gcc-list] the dynamic shared library in avr-gcc


임지수 wrote:
> Hi,
>
> I want use the dynamic shared library in avr-gcc.
> But avr-gcc can't use "-shared" options.
> why does not avr-gcc support "-shared" options?
> Is there another method to use the dynamic shared library?
>

What "dynamic shared library" are you talking about?

Using shared libraries do not make sense in building an AVR application
because there are no such concepts in an AVR code image as a filesystem,
or multiple applications that need to share a library in the first place.

--
Eric Weddington


_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.orghttp://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Offline

#3 Nov. 3, 2005 20:31:41

Joerg W.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[avr-gcc-list] the dynamic shared library in avr-gcc


Eric Weddington <> wrote:

> Using shared libraries do not make sense in building an AVR
> application because there are no such concepts in an AVR code image
> as a filesystem, or multiple applications that need to share a
> library in the first place.

Also, shared libraries are typically loaded into RAM, and executed
there. That's not possible in AVR's Harvard architecture. While it's
in theory possible to burn the "shared library" into a (flash) ROM
segment at run-time, this is 1) a rather expensive operation (compared
to the classical shared library approach), and 2) can only be done
from inside the bootloader area for many AVRs.

--
cheers, J"org .-.-. --... ...-- -.. . DL8DTLhttp://www.sax.de/~joerg/NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.orghttp://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Offline

  • Root
  • » AVR-GCC
  • » [avr-gcc-list] the dynamic shared library in avr-gcc [RSS Feed]

Board footer

Moderator control

Enjoy the 18th of November
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support