This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Fw: Undefined references to __udivsi3 and __umodsi3 (arm-elf)
- From: "Peter Tiang" <petertiang at syabas dot com>
- To: <newlib at sources dot redhat dot com>
- Date: Thu, 17 Oct 2002 13:53:01 -0700
- Subject: Fw: Undefined references to __udivsi3 and __umodsi3 (arm-elf)
> 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
> >
>