This is the mail archive of the
libc-alpha@cygnus.com
mailing list for the glibc project.
Re: Glibc on ppc built on i386
- To: pb@nexus.co.uk
- Subject: Re: Glibc on ppc built on i386
- From: Mark Kettenis <kettenis@wins.uva.nl>
- Date: Thu, 26 Nov 1998 16:57:34 +0100 (MET)
- CC: erakeon@kieray1.p.y.ki.era.ericsson.se, libc-alpha@cygnus.com
- References: <E0zj1fO-0004E8-00@fountain.nexus.co.uk>
Date: Thu, 26 Nov 1998 13:41:05 +0100
From: Philip Blundell <pb@nexus.co.uk>
>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.
Cross compiling from Linux to GNU/Hurd defenitely works.
>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.
If your cross-compilation tools are installed properly, confguring
with --host= and --build= set to your target (ppc-unknown-linux-gnu)
and build (i586-pc-linux-gnu) canonical system name should pick up the
right tools.
Mark