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]
Other format: [Raw text]

Re: newlib "light!


Wolfgang Fritz wrote:
> 
> "J. Johnston" schrieb:
> >
> > Wolfgang Fritz wrote:
> > >
> > > Hi,
> > >
> > > I am developing communications applications on a 68LC302 platform using
> > > the gcc toolchain and newlib. I've seen the binaries are much bigger as
> > > the same application generated with a commercial toolchain. This is not
> > > a compiler but a newlib issue. The commercial library does not have
> > > floating point support, which is not needed in my application. (They
> > > have a floating point version too).
> > >
> > > My question: Is it possible to strip down newlib to a  pure integer
> > > version (printf etc.)? A short look into the sources showed some
> > > #defines which may imply that it is possible, but I could not find
> > > options to configure it. The newlib sources are a real jungle for me.
> > >
> > > Is there any documentation available how to tailor newlib?
> > >
> >

I have just checked in a patch to the current sources whereby a new
configuration flag --disable-newlib-io-float has been added.
This flag causes the printf/scanf family to be compiled such
that the floating point code is removed.  

-- Jeff J.


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