dynamic or static linking
Andrew Stubbs
Andrew.Stubbs@st.com
Tue May 29 04:40:00 GMT 2001
On Tue, 29 May 2001 joerg.preuss@jmpreuss-edv.de wrote:
> Hi!
>
> Is there a chance, to build newlib as a dynamic link library? Our arm-board
> has only 256kb ram. Even if a programm we wrote is really small (just an
> inkrement), the linked code is quite big. Sometimes more than 200kb. We had
> the idea, that a dynamic lib could be loaded into flash-rom, which is much
> bigger.
Are you striping the executable?
My hello world program starts out at 315k (for sh4), but when I strip it
the size drops to 48k.
------------------------------------------------------------------------
| Andrew Stubbs, | E-mail: Andrew.Stubbs@st.com |
| STMicroelectronics Ltd., | or stubbsa@bristol.st.com |
| 1000 Aztec West, | |
| Almondsbury, | Tel: +44 (0)1454 462325 |
| Bristol, BS32 4SQ, U.K. | Fax: +44 (0)1454 617910 |
------------------------------------------------------------------------
More information about the Newlib
mailing list