[Clfs-support] CLFS for ppc on LFS 6.3 host

Anthony Drake agmotorsvc at verizon.net
Wed Jul 9 06:37:37 PDT 2008


Ken, Joe,
glibc on the target system is 2.1.3.  It's (libc's) version herald states linuxthreads-0.8.   I do have rpm packages for binutils, glib, and gcc of the versions used to build the target system, so my next effort is to attempt to build a cross compiler environment of those packages.   I will use either RH 7.2 or a slightly later version of RH to try to build, and I will use as much of the clfs procedure as possible.
Thanks again, Anthony Drake



----- Original Message ----
From: Ken Moffat <zarniwhoop at ntlworld.com>
To: CLFS Support <clfs-support at lists.cross-lfs.org>
Sent: Tuesday, July 8, 2008 4:33:51 PM
Subject: Re: [Clfs-support] CLFS for ppc on LFS 6.3 host

On Tue, Jul 08, 2008 at 01:26:33PM -0700, Anthony Drake wrote:
> Ken,
> First, thank you for going to the trouble of helping me.
> In answer to your question 1 below, I did apply all patches stated in chapter 5 of the book, and I did set STARTFILE_PREFIX_SPEC to "/tools/lib/" in gcc/config/rs6000/linux.h.  As I follow the steps I double check that sed operations and the like actually provide expected results, using diff or otherwise.
> As regards question 2: CLFS_HOST="i686-cross-linux-gnu"; CLFS_TARGET="powerpc-unknown-linux-gnu".
> For question 3, my command history is gone for all but the last attempt which does indeed compare correctly with the book, which incidentally built to completion with success.

So, that problem is gone.

>   Unfortunately the target for which I need to build ppc binaries is running a kernel version 2.4.21, which will not load and run a binary (hello world) built using my clfs cross compiler.

Yeah, this is the --enable-kernel=2.6.0 in the book.  One reason
for using that is that we moved to nptl instead of linux-threads.
You cannot run any current clfs under a 2.4 kernel.

As to what version of glibc can run under a 2.4 kernel, I've no
idea.  Sorry I didn't spot that showstopper earlier.

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce
_______________________________________________
Clfs-support mailing list
Clfs-support at lists.cross-lfs.org
http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clfs.org/pipermail/clfs-support-clfs.org/attachments/20080709/7f0434db/attachment-0001.htm>


More information about the Clfs-support mailing list