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 <[EMAIL PROTECTED]>
To: CLFS Support <[email protected]>
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
[email protected]
http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org
_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org

Reply via email to