[mc1322x] linking in math libraries?

Andrew Pullin pullin at berkeley.edu
Fri Apr 9 06:04:49 EDT 2010


On 4/8/2010 7:49 AM, Mariano Alvira wrote:
> On Thu, Apr 08, 2010 at 10:22:40AM -0400, Jon Smirl wrote:
>    
>> Now you get to sort through and figure out what went wrong.
>>
>> It may be bring in floating point emulation because of printf. There's
>> an option somewhere to stop that.
>>      
> eh. I find it's easier to fix it when glibc blows up.
>
> If think there is enough info is this thread to get someone started
> with newlib if they are really gung-ho about it.
>
> And also, wasn't the whole point of this to bring in floating point
> emulation? (e.g. sqrt())? So even under that case, glibc is still half
> the size.
>
> -Mar.
>
>
>    
Well, this sort of works for newlib:
http://andrewpullin.org/tools/arm/buildscript.sh

It works in the sense that it builds, and prints a lot of libraries when 
doing arm-elf-gcc -print-multi-lib , but the build still complains that 
the library is build without interworking and with software FP. If 
anyone's got a stroke of genius about how to make it work, I'd be very 
interested to hear...

-Andrew



More information about the mc1322x mailing list