This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Building GLIBC 2.3.4 on MIPS


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 2.6.11.6 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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]