MIPS multilib cross-compiler build fails

Michael J. Hammel cross-lfs at graphics-muse.org
Thu Dec 22 08:35:49 PST 2005

On Wed, 2005-12-21 at 23:05 -0800, Jim Gifford wrote:
> Michael,
>     One of the reasons I started this project was because of MIPS. I 
> really appreciate your comments.

No problem.  Glad to help where I can too.

> 1 - What is your Target Machine

SiByte based processor.

> 2 - What is your Host Machine

x86 (P4) based FC3 system.

> 3 - Little Endian or Big Endian (assuming big by your choice of 
> mips-unknown-linux-gnu)

Big Endian

> 4 - What is your path show (echo $PATH)


where XWD=/cross-tools

> 5 - What is LFS_HOST set to (echo $LFS_HOST)
> 6 - What is LFS_TARGET set to (echo $LFS_TARGET)

LFS_HOST     = i386-redhat-linux-gnu
LFS_TARGET   = mips-unknown-linux-gnu
LFS_TARGET32 = mips-unknown-linux-gnu

> 7 - What book are you following (3 different ones for MIPS)

Multilib at the moment.  I tried the 64bit version and ran into a
problem that I can't remember, so tried Multilib instead.  I got
Multilib to build gcc okay so I just stuck with it.  I'd also like to
try multilib because it appears to build a distribution similar to
MontaVista's, and I'd like to see if I could reproduce something

> 8 - What version of GCC is one your host, (gcc --version)

On the host:
Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --
infodir=/usr/share/info --enable-shared --enable-threads=posix --
disable-checking --with-system-zlib --enable-__cxa_atexit --disable-
libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linux
Thread model: posix
gcc version 3.4.3 20050227 (Red Hat 3.4.3-22.fc3)

The cross compiler I'm building is 4.0.2.

> That should be enough to get started.

Many thanks!  I appreciate the help.
Michael J. Hammel           |      Knowledge comes,
The Graphics Muse           |      but wisdom lingers.
mjhammel at graphics-muse.org  |            Tennyson, "Locksley Hall"

More information about the cross-lfs mailing list