Dave Klingler wrote:
> Hi everyone.
>
> I'm trying to get some development tools up and
> running on a Freescale 8349MiTX PPC box. The chip is
> a 603-based SoC, and it'll run binaries generated on
> my Kurobox 266 MHz 603. Although the target box came
> with a running Linux/Busybox system (with no tools),
> the LTIB scripts that came with the box were a little
> buggy, and I thought it would be easy just to port a
> new toolchain over from scratch. Famous last words.
>
> My logic was to create an LFS-style toolchain on the
> Kurobox, and then take it over to the Freescale box
> after building glibc. The combination of tools I used
> was binutils 2.17, GCC 4.1, and glibc-2.3.6. I don't
> remember right off the bat what drove my choice of GCC
> 4.1, but I seem to remember that it was a PPC bug
> issue that was resolved in 4.1.
>
> After slogging my way through several bugs that have
> been patched on the x86 side but not on the PPC side,
> I got up through 5.12, the reinstallation of binutils.
> I then tarred everything up and popped it over on to
> the target box, tested it, and voila, it worked.
>
> Continuing, I expected to be able to skip ahead to
> Chapter 6.7, the installation of Linux standard
> headers. When I started compiling glibc-2.3.6,
> though, the build crapped out during the linking stage
> and I discovered that configure had somehow missed
> types.h, stdlib.h, stat.h, etc. Going back to the
> Kurobox I discovered that the same thing happened if I
> attempted a build of glibc-2.3.6 using --prefix=/usr
> on that box tool. Everything goes fine if I use
> --prefix=/tools. The relevant files are all sitting
> in /usr/lib/sys, right where they're supposed to be,
> but configure isn't finding them. I've seen errors
> matching similar descriptions posted around the web,
> but with solutions that don't seem to pertain.
>
> I can't help but think that I'm missing a simple
> solution, but I'm not seeing it. Does anyone have any
> suggestions?
>
> Thanks in advance!
> Dave
>
>
>
> ____________________________________________________________________________________
> Get your own web address.
> Have a HUGE year through Yahoo! Small Business.
> http://smallbusiness.yahoo.com/domains/?p=BESTDEAL
>
You may want to look at cross-lfs, we currently have a ppc build.
http://www.cross-lfs.org.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page