Cross-compiling for powerpc
Alexandre Oliva
aoliva@redhat.com
Tue Jan 30 14:23:00 GMT 2001
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
More information about the Gcc-help
mailing list