Topic: i486 cross-tool chain is broken.
There appear to be several needed files missing after make i486, my notes follow:
trying to setup cross-tools from ttylinux-src-9.0 distro
using linux mint 8, based on ubuntu 9.10
had to install g++ to continue
got error in make setup that legendre encountered.
fixed all scripts in _scripts with sed -iold s:bin/sh -eu:bin/bash: *
was able then to make setup, make dload, make i486.
make i486 did not print "done." at the end of the last step:
Building glibc-2.9 Stage 2 ........
was followed by a prompt.
testing as root did not work:
_scripts # ./test-i486.sh
./test-i486.sh: line 96: /home/eric/Downloads/ttylinux-src-9.0/cross-tools-2.1/i486-generic-linux-gnu/_versions: No such file or directory
./test-i486.sh: line 97: /home/eric/Downloads/ttylinux-src-9.0/cross-tools-2.1/i486-generic-linux-gnu/_xbt_env_set: No such file or directory
Checking simple target C cross compile.
>Compiling test program.
>Running test program.
cp: cannot stat `./hello': No such file or directory
chroot: cannot run command `/lib/ld-linux.so.2': No such file or directory
>Analyzing test program and its output.
readelf: Error: 'hello': No such file
0a1
> Hello.
*ERROR* Test program FAIL.
0a1
> [Requesting program interpreter: /lib/ld-linux.so.2]
*ERROR* Test Program analysis 1 FAIL.
0a1,3
> attempt to open /home/eric/Downloads/ttylinux-src-9.0/cross-tools-2.1/i486-generic-linux-gnu/target/lib/crt1.o succeeded
> attempt to open /home/eric/Downloads/ttylinux-src-9.0/cross-tools-2.1/i486-generic-linux-gnu/target/lib/crti.o succeeded
> attempt to open /home/eric/Downloads/ttylinux-src-9.0/cross-tools-2.1/i486-generic-linux-gnu/target/lib/crtn.o succeeded
*ERROR* Test Program analysis 2 FAIL.
0a1
> attempt to open /home/eric/Downloads/ttylinux-src-9.0/cross-tools-2.1/i486-generic-linux-gnu/target/lib/libc.so.6 succeeded
*ERROR* Test Program analysis 4 FAIL.
0a1
> found ld-linux.so.2 at /home/eric/Downloads/ttylinux-src-9.0/cross-tools-2.1/i486-generic-linux-gnu/target/lib/ld-linux.so.2
*ERROR* Test Program analysis 5 FAIL.
Simple target C cross compiler Blech.
Checking simple target C++ cross compile... ./test-i486.sh: line 288: /home/eric/Downloads/ttylinux-src-9.0/cross-tools-2.1/i486-generic-linux-gnu/host/usr/bin/-c++: No such file or directory
cp: cannot stat `./hello': No such file or directory
Blech.
chroot: cannot run command `/lib/ld-linux.so.2': No such file or directory
sure enough, the test results predict failure:
mint-athlon ttylinux-src-9.0 # make dist
Remove ttylinux build.
=> Removing development build directories.
=> Removing boot CD configuration.
=> Removing file system image, boot CD image.
=> Removing binary packages.
=> Removing build logs.
Initializing the ttylinux build.
=> Creating preliminary development build directories ... DONE
=> Creating build-root base file system directories ... DONE
Building the ttylinux packages.
E> i486 cross-tool chain is broken.
E> no /home/eric/Downloads/ttylinux-src-9.0/cross-tools-2.1/i486-generic-linux-gnu/_versions file
Build FAILED.
make: *** [pkgs] Error 1
mint-athlon ttylinux-src-9.0 #