[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: image too big...



On 29 Jun 2001 02:58:35 +0200, Hans-Peter Nilsson wrote:
> > From: "Ujwal S. Sathyam" <ujwal@xxxxxxx.com>
> > Date: 28 Jun 2001 17:32:50 -0700
> 
> > I just succeeded in building my app for the devboard_lx, and it is
> > working quite nicely so far. My app optionally uses some math routines
> > and thus links against libm. However, when I try to build the image
> > using make images, it tells me that the image is too big. When I disable
> > the math routines and do not link aginst libm, it works OK. Any ideas?
> 
> Link libm statically for that particular app so it isn't
> included in whole as a generic dynamic library.  Perhaps adding
> "-Wl,-Bstatic,-lm,-Bdynamic" to LDFLAGS or something similar;
> maybe just in the makefile for that application, will work for
> you.
> 
> brgds, H-P
> 

Nope, that did not work. I am OK without the math support. It just would
have been nice to have it.

Ujwal