Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] Newlib problem

2005-04-04 by Robert Adsett

At 12:00 PM 4/4/05 -0300, Leonardo Santos wrote:
>         First, than you all for the answers on my previous question about 
> a C union
>not working for IO access. I'm now compiling some programs with GCC 3.4.3 and
>newlib 1.12. I've download the source packages from http://rod.info/arm.html
>and used his build script to build the toolchain. All went very smooth.
>         I've been able to compile FreeRTOS for LPC2106 and tried to blink 
> some LEDs
>(hence the question about the C union), but when I try to use any code from
>the newlib, I get the following warning:
>
>arm-elf-ld: Warning: /opt/arm/lib/gcc/arm-elf/3.4.3//libgcc.a(_udivsi3.o) 
>does
>not support interworking, whereas test2.prg does

It's complaining that the C compiler library is not compiled with 
internetworking.  In this case it's trying to link in a division 
routine.  Newlib does not provide these, they are built with gcc normally.

Robert

" 'Freedom' has no meaning of itself.  There are always restrictions,   be 
they legal, genetic, or physical.  If you don't believe me, try to chew a 
radio signal. "  -- Kelvin Throop, III
http://www.aeolusdevelopment.com/

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.