Fw: Undefined references to __udivsi3 and __umodsi3 (arm-elf)
Peter Tiang
petertiang@syabas.com
Thu Oct 17 13:53:00 GMT 2002
> A little bit confused here.
>
> We're trying to avoid the standard system startup
> files and library (libgcc.a), that's why we chooses
> to use "newlib". We flagged gcc with "-nostdlib"
> to avoid linking in of libgcc.a.
>
> You mean we still need libgcc.a despite of already
> linking in newlib libraries ?
>
>
> >
> >
> > Peter Tiang wrote:
> > >
> > > I'm having trouble with undefined references
> > > to __udivsi3 and __umodsi3.
> > >
> > > My target is arm-elf and my linker command line is
> > >
> > > $(LD) --gc-section -Ttext 0x01300000 -o $@ $^ $(LIBC)/crt0.o
> $(LIBC)/libc.a
> > > $(LIBC)/libm.a
> > >
> > > Anything I'm missing here ?
> >
> > libgcc.a?
> >
> > --
> > Joel Sherrill, Ph.D. Director of Research & Development
> > joel@OARcorp.com On-Line Applications Research
> > Ask me about RTEMS: a free RTOS Huntsville AL 35805
> > Support Available (256) 722-9985
> >
>
More information about the Newlib
mailing list