This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: dynamic or static linking


> > 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]