This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


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

Re: Cross-compiling for powerpc


On Jan 30, 2001, Sébastien Côté <scote1@Matrox.COM> wrote:

> /cross/powerpcle-elf/lib/libc.a(sbrkr.o): In function `_sbrk_r':
> /home/scote1/build-newlib/powerpcle-elf/newlib/libc/reent/../../../../../newlib-1.9.0/newlib/libc/reent/sbrkr.c:61:
> undefined reference to `sbrk'

Looks like some problem in newlib.  Maybe you should ask in the
mailing list devoted to newlib?

> Does anybody know what the problem might be??  Why is it using libs in
> the sources directory in the first place???

It is not.  It's just that the debugging information in the binary
library contains the complete pathnames of the sources.  So that, in
case you decide to debug it, it will ``just work'' unless you remove
the source tree.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

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