This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


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

Re: gcc-newlib includes unwanted stuff


On Tue, May 30, 2000 at 11:25:16AM +0900, Gerhard Heinzel wrote:

> - I need some floating point routines (from fp-bit.o), and
>   also one square root of a number which I know to be
>   positive. The linker includes "errno.o" because of the
>   "sqrt", and "errno.o" in turn includes "impure.o" which
>   comes with a huge "static struct _reent
>   __ATTRIBUTE_IMPURE_DATA__ impure_data" This structure takes
>   more than 600 bytes, which is more than 16% of my total
>   RAM.
> 
> How can I avoid linking this "impure.o" ?
> Thanks for any hints,

couldn't you simply remove errno references from fp-bit?

-- 
  Aaron J. Grier   |   Frye Electronics, Tigard, OR   |   aaron@frye.com
  "The simplistic anthropomorphism which asserts that source code has a
   life separate from its creator or maintainer is the product of one
   too many viewings of Tron."  -- paraphrasing of anonymous post on /.

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


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