Crosstool building using Dan's Script
Manoj Verma, Noida
manojv@noida.hcltech.com
Sun Nov 2 17:08:00 GMT 2003
Hi,
I am now trying to build crosstool using Dan's Script for the
target=arm-linux over Cygwin/MinGW:
1) Binutils installation complete.
2) glibc headers:
a) $ ../glibc-2.3.1/configure --host=arm-linux
--prefix=/cygdrive/f/cygwin/home/manoj/mydir --build=$BUILD --without-cvs
--disable-sanity- checks
--with-headers=/cygdrive/f/cygwin/home/manoj/cinstall_arm/arm-linux/include
--enable-hacker-mode
b) make cross-compiling=yes
install_root=/cygdrive/f/cygwin/home/manoj/cinstall_arm/arm-linux prefix=""
install-headers
This gives the following errors:
****************************************************************************
*************************************
bash-2.05a$ make cross-compiling=yes
install_root=/cygdrive/f/cygwin/home/manoj/cinstall_arm/arm-linux p
refix="" install-headers
make -r PARALLELMFLAGS="" CVSOPTS="" -C ../glibc-2.3.1 objdir=`pwd`
install-headers
make[1]: Entering directory `/home/manoj/glibc-2.3.1'
(echo 'sysd-rules-sysdirs := sysdeps/arm/elf sysdeps/unix/sysv/linux/arm
sysdeps/unix/sysv/linux sysdeps/gnu s
ysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet sysdeps/unix/sysv
sysdeps/unix/arm sysdeps/unix sysdeps
/posix sysdeps/arm/fpu sysdeps/arm sysdeps/wordsize-32
sysdeps/ieee754/flt-32 sysdeps/ieee754/dbl-64 sysdeps/i
eee754 sysdeps/generic/elf sysdeps/generic'; \
for dir in '$(..)sysdeps/arm/elf' '$(..)sysdeps/unix/sysv/linux/arm'
'$(..)sysdeps/unix/sysv/linux' '$(..)sys
deps/gnu' '$(..)sysdeps/unix/common' '$(..)sysdeps/unix/mman'
'$(..)sysdeps/unix/inet' '$(..)sysdeps/unix/sysv
' '$(..)sysdeps/unix/arm' '$(..)sysdeps/unix' '$(..)sysdeps/posix'
'$(..)sysdeps/arm/fpu' '$(..)sysdeps/arm' '
$(..)sysdeps/wordsize-32' '$(..)sysdeps/ieee754/flt-32'
'$(..)sysdeps/ieee754/dbl-64' '$(..)sysdeps/ieee754' '
$(..)sysdeps/generic/elf' '$(..)sysdeps/generic'; do
\
for o in .o .os .op .og .ob .oS; do \
\
echo "\$(objpfx)%$o: $dir/%.S \$(before-compile); \
\$(compile-command.S)"; \
echo "\$(objpfx)%$o: $dir/%.s \$(before-compile); \
\$(compile-command.s)"; \
\
echo "\$(objpfx)%$o: $dir/%.c \$(before-compile); \
\$(compile-command.c)"; \
done; \
\
echo "\$(objpfx)%.d: $dir/%.s \$(common-objpfx)dummy.d; \
\$(make-dummy-dep)"; \
echo "\$(objpfx)%.d: $dir/%.S \$(before-compile); \
\$(+make-deps)"; \
\
echo "\$(objpfx)%.d: $dir/%.c \$(before-compile); \
\$(+make-deps)"; \
done; \
echo 'sysd-rules-done = t') > /home/manoj/build_glibcheaders/sysd-rulesT
mv -f /home/manoj/build_glibcheaders/sysd-rulesT
/home/manoj/build_glibcheaders/sysd-rules
for dir in /home/manoj/build_glibcheaders sysdeps/arm/elf
sysdeps/unix/sysv/linux/arm sysdeps/unix/sysv/linux
sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet
sysdeps/unix/sysv sysdeps/unix/arm sysdeps
/unix sysdeps/posix sysdeps/arm/fpu sysdeps/arm sysdeps/wordsize-32
sysdeps/ieee754/flt-32 sysdeps/ieee754/dbl
-64 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic; do \
test -f $dir/syscalls.list && \
{ /bin/sh.exe sysdeps/unix/make-syscalls.sh $dir || exit 1; }; \
test $dir = sysdeps/unix && break; \
done > /home/manoj/build_glibcheaders/sysd-syscallsT
mv -f /home/manoj/build_glibcheaders/sysd-syscallsT
/home/manoj/build_glibcheaders/sysd-syscalls
'BEGIN { subdirs = ""; inhibit = "" }; \
/^#/ { next }; \
/^[^-]/ { subdirs = subdirs " " $0 }; \
/^-/ { inhibit = inhibit " " substr($0, 2) }; \
END { printf "sysdep-subdirs =%s\n", subdirs; \
printf "sysdep-inhibit-subdirs =%s\n", inhibit; \
print "sysd-dirs-done = t" }' \
/dev/null sysdeps/unix/inet/Subdirs sysdeps/unix/Subdirs >
/home/manoj/build_glibcheaders/sysd-dirs-tmp
BEGIN { subdirs = ""; inhibit = "" }; /^#/ { next };
/^[^-]/ { subdirs = subdirs " " $0 }; /^-/ { inhibit =
inhibit " " substr($0, 2) };
END { printf "sysdep-subdirs =%s\n", subdirs; printf
"sysdep-inhibit-subdirs =%s\n", inhibit;
print "sysd-dirs-done = t" }: not found
make[1]: *** [/home/manoj/build_glibcheaders/sysd-dirs] Error 127
make[1]: Leaving directory `/home/manoj/glibc-2.3.1'
make: *** [install-headers] Error 2
****************************************************************************
************************************
I am not able to make out what this error means?
How do I get rid of this?
Thanks
More information about the Libc-alpha
mailing list