This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Cross-compiling for powerpc
- To: Sébastien Côté <scote1 at Matrox dot COM>
- Subject: Re: Cross-compiling for powerpc
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 30 Jan 2001 20:23:07 -0200
- Cc: gcc-help at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <3A71E0D8.CFF3DD31@matrox.com> <3A773A35.3243B2EE@matrox.com>
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