This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: Glibc on ppc built on i386
- To: Kenneth Johansson <erakeon@kieray1.p.y.ki.era.ericsson.se>
- Subject: Re: Glibc on ppc built on i386
- From: Philip Blundell <pb@nexus.co.uk>
- Date: Thu, 26 Nov 1998 13:41:05 +0100
- cc: libc-alpha@cygnus.com
>1. have anyone done a cross compiled version of glibc and got it to work
Cross compiling in general is OK. I don't know about PPC specifically but I
cross compile for ARM systems all the time.
>4. I needed to set CC and BUILD_CC even if the documentation don't mention it
>anymore.
The documentation doesn't really cover cross compiling properly. Feel free
to send a patch to improve this.
>5. Well it dose not work :( I attached a file with the output I get when
>trying to run a hello world program I made. I don't think I can run gdb as my
>CPU don't have a FPU and I am using lincppc on it at this point.
Try linking statically first of all and see if you can run a very simple
program. Shared libraries introduce another level of complexity and you
probably don't want to worry about that at first.
p.