I am following the directions to build the tools in
http://www.rockbox.org/twiki/bin/view/Main/CrossCompilerfor the "automatic build". I downloaded the latest souces and
as root executed the rockboxdev.sh script.
I am running amd64 debian etch.
I am getting the following output to running the script:
== Summary ==
Target: arm-elf
gcc 4.0.3
gcc patch thumb-interwork-4.0.3.diff
binutils 2.16.1
install in /usr/local/arm-elf
when complete, make your PATH include /usr/local/arm-elf/bin
binutils 2.16.1 already downloaded
gcc 4.0.3 already downloaded
thumb-interwork-4.0.3.diff already downloaded
ROCKBOXDEV: extracting binutils-2.16.1 in /tmp/rbdev-build
ROCKBOXDEV: extracting gcc-4.0.3 in /tmp/rbdev-build
ROCKBOXDEV: applying gcc patch
patching file ./gcc-4.0.3/gcc/config/arm/t-arm-elf
ROCKBOXDEV: mkdir build-binu
ROCKBOXDEV: cd build-binu
ROCKBOXDEV: binutils/configure
creating cache ./config.cache
checking host system type... x86_64-unknown-linux-gnu
checking target system type... arm-unknown-elf
checking build system type... x86_64-unknown-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... gcc
checking whether the C compiler (gcc ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
ROCKBOXDEV: binutils/make
make: *** No targets specified and no makefile found. Stop.
ROCKBOXDEV: binutils/make install to /usr/local/arm-elf
make: *** No rule to make target `install'. Stop.
ROCKBOXDEV: mkdir build-gcc
ROCKBOXDEV: cd build-gcc
ROCKBOXDEV: gcc/configure
creating cache ./config.cache
checking host system type... x86_64-unknown-linux-gnu
checking target system type... arm-unknown-elf
checking build system type... x86_64-unknown-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... gcc
checking whether the C compiler (gcc ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
ROCKBOXDEV: gcc/make
make: *** No targets specified and no makefile found. Stop.
ROCKBOXDEV: gcc/make install to /usr/local/arm-elf
make: *** No rule to make target `install'. Stop.
done
Make your PATH include :/usr/local/arm-elf/bin
the "set" command shows the PATH variable as:
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11
also
ls /usr/local
yeilds:
bin etc games include jre1.6.0_01 jre-6u1-linux-amd64.bin lib man sbin share src