Hello,
I am trying to install systemsim on vmware FC4 running on x86 machine. I followed the guide aget following errors:
make toolchain_all
cd src && rm -rf crosstool-0.42
cd src && rm crosstool
cd src && tar xzf packages/crosstool-0.42.tar.gz
cd src && ln -s crosstool-0.42 crosstool
cd src/crosstool && \
GCC_BUILD=i386-unknown-linux-gnu \
TARBALLS_DIR=/root/ibmsim/toolchain/src/packages \
RESULT_TOP=/root/ibmsim/compilers \
GCC_LANGUAGES="c" \
eval `cat powerpc-750.dat gcc-4.1.0-glibc-2.3.6.dat` sh all.sh --notest
You set both LINUX_DIR and LINUX_SANITIZED_HEADER_DIR - ignoring LINUX_DIR for the build
DEJAGNU not set, so not running any regression tests
GLIBC_ADDON_OPTIONS not set, so building all glibc add-on's
KERNELCONFIG not set, so not configuring linux kernel
+ TOOLCOMBO=gcc-4.1.0-glibc-2.3.6
++ pwd
+ BUILD_DIR=/root/ibmsim/toolchain/src/crosstool/build/powerpc-750-linux-gnu/gcc-4.1.0-glibc-2.3.6
++ pwd
+ TOP_DIR=/root/ibmsim/toolchain/src/crosstool
+ test -z ''
+ SRC_DIR=/root/ibmsim/toolchain/src/crosstool/build/powerpc-750-linux-gnu/gcc-4.1.0-glibc-2.3.6
+ echo 'SRC_DIR not set, so source tarballs will be unpacked in the build directory'
SRC_DIR not set, so source tarballs will be unpacked in the build directory
+ case x$PREFIX in
+ case x$USER in
+ abort 'Don'\''t run all.sh or crosstool.sh as root, it'\''s dangerous'
+ echo 'Don'\''t' run all.sh or crosstool.sh as root, 'it'\''s' dangerous
Don't run all.sh or crosstool.sh as root, it's dangerous
+ exec false
make: *** [build_toolchain32] Error 1
Then I continued:
make kernel_all
And this is the summary of what I got:
/root/ibmsim/toolchain/src/linux-2.6.16/scripts/gcc-version.sh: line 11: /root/ibmsim/compilers/gnu/powerpc64-unknown-linux-gnu/bin/powerpc64-unknown-linux-gnu-gcc: No such file or directory
/root/ibmsim/toolchain/src/linux-2.6.16/scripts/gcc-version.sh: line 12: /root/ibmsim/compilers/gnu/powerpc64-unknown-linux-gnu/bin/powerpc64-unknown-linux-gnu-gcc: No such file or directory
*** 2.6 kernels no longer build correctly with old versions of binutils.
*** Please upgrade your binutils to 2.12.1 or newer
make[1]: *** [checkbin] Error 1
make[1]: Leaving directory `/root/ibmsim/toolchain/src/linux-2.6.16'
make: *** [build_kernel] Error 2
Any idea what's wrong ?? I am totally clueless ! :(
Thanks,
PM