[Top] [All Lists]

Re: Building GLIBC 2.3.4 on MIPS

Subject: Re: Building GLIBC 2.3.4 on MIPS
From: "Daniel Laird" <>
Date: Mon, 11 Apr 2005 16:33:25 +0000
In-reply-to: <>
Original-recipient: rfc822;
I am using crosstool to help me build!

I have a problem when i compile that it seems to include a file sysdeps/mips/mips32/Makefile. This has the option -mabi=32. When it does the install-headers target in crosstool it passes this flag to the host compiler. This causes an error.

I get around this my removing this flag for the install header target and then putting it back for the rest of the crosstool script.

this results in a complete toolchain and a kernel which is running on my target.

I then try to build busybox1.00 and i get the error
In file included from /home/laird/ccm_wa/ipstb/ipstb_laird/ipstb/build/packages/busybox-1.00/libbb/module_syscalls.c:26: /opt/nxlinux/gcc/gcc-3.4.3-glibc-2.3.4/lib/gcc/mipsel-linux-gnu/3.4.3/../../../../mipsel-linux-gnu/sys-include/sys/syscall.h:39:27: bits/syscall.h: No such file or directory make[1]: *** [/home/laird/ccm_wa/ipstb/ipstb_laird/ipstb/build/packages/busybox-1.00/libbb/module_syscalls.o] Error 1 make[1]: Leaving directory `/home/laird/ccm_wa/ipstb/ipstb_laird/ipstb/build/packages/busybox-1.00'

When i check it is missing.

I am presuming my hack to get the install-headers target may be breaking things but how else do i get round this.

Are you guys using crosstool?

Thanks for the help

<Prev in Thread] Current Thread [Next in Thread>