dynamic or static linking

more morezeng@certaingroup.com
Tue May 29 06:09:00 GMT 2001


> > You could still use static link library, burn all the text code in flash, and
> > use
> > ram as data section only.
> that seems to be a solution. could you tell me more about that. a little
> howto???
Just use the linker script, like the blow:

  SECTIONS
  {
.flash :
{
*(.text)
}
  }

So all the text section will be in .flash section of the executable image.


Regards,
more.



More information about the Newlib mailing list