rendered paste bodyalex@MaximusLappy:~/rockbox$ sudo ./tools/rockboxdev.sh
/home/alex/tmp has been created to store downloads in
Download directory: /home/alex/tmp (edit script to change dir)
Install prefix: /usr/local/[target] (edit script to change dir)
Build dir: /home/alex/build-rbdev (edit script to change dir)
Select target arch:
s - sh (Archos models)
m - m68k (iriver h1x0/h3x0, ifp7x0 and iaudio)
a - arm (ipods, iriver H10, Sansa, etc)
all - all three compilers
all
build ALL compilers!
== Summary ==
Target: sh-elf
gcc 4.0.3
gcc patch gcc-4.0.3-rockbox-1.diff
binutils 2.16.1
install in /usr/local/sh-elf
when complete, make your PATH include /usr/local/sh-elf/bin
ROCKBOXDEV: downloads ftp://ftp.gnu.org/pub/gnu/binutils/binutils-2.16.1.tar.bz2 using wget
--23:51:24-- ftp://ftp.gnu.org/pub/gnu/binutils/binutils-2.16.1.tar.bz2
=> `/home/alex/tmp/binutils-2.16.1.tar.bz2'
Resolving ftp.gnu.org... 140.186.70.20
Connecting to ftp.gnu.org|140.186.70.20|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /pub/gnu/binutils ... done.
==> PASV ... done. ==> RETR binutils-2.16.1.tar.bz2 ... done.
Length: 12,549,917 (12M) (unauthoritative)
100%[====================================>] 12,549,917 750.06K/s ETA 00:00
23:51:42 (738.08 KB/s) - `/home/alex/tmp/binutils-2.16.1.tar.bz2' saved [12549917]
ROCKBOXDEV: downloads ftp://ftp.gnu.org/pub/gnu/gcc/gcc-4.0.3/gcc-core-4.0.3.tar.bz2 using wget
--23:51:42-- ftp://ftp.gnu.org/pub/gnu/gcc/gcc-4.0.3/gcc-core-4.0.3.tar.bz2
=> `/home/alex/tmp/gcc-core-4.0.3.tar.bz2'
Resolving ftp.gnu.org... 140.186.70.20
Connecting to ftp.gnu.org|140.186.70.20|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /pub/gnu/gcc/gcc-4.0.3 ... done.
==> PASV ... done. ==> RETR gcc-core-4.0.3.tar.bz2 ... done.
Length: 15,573,608 (15M) (unauthoritative)
100%[====================================>] 15,573,608 778.71K/s ETA 00:00
23:52:05 (728.68 KB/s) - `/home/alex/tmp/gcc-core-4.0.3.tar.bz2' saved [15573608]
ROCKBOXDEV: downloads http://www.rockbox.org/twiki/pub/Main/CrossCompiler/gcc-4.0.3-rockbox-1.diff using wget
--23:52:05-- http://www.rockbox.org/twiki/pub/Main/CrossCompiler/gcc-4.0.3-rockbox-1.diff
=> `/home/alex/tmp/gcc-4.0.3-rockbox-1.diff'
Resolving www.rockbox.org... 91.191.140.131
Connecting to www.rockbox.org|91.191.140.131|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,737 (1.7K) [text/x-diff]
100%[====================================>] 1,737 --.--K/s
23:52:05 (66.26 MB/s) - `/home/alex/tmp/gcc-4.0.3-rockbox-1.diff' saved [1737/1737]
ROCKBOXDEV: extracting binutils-2.16.1 in /home/alex/build-rbdev
ROCKBOXDEV: extracting gcc-4.0.3 in /home/alex/build-rbdev
ROCKBOXDEV: applying gcc patch
patching file gcc-4.0.3/gcc/config/sh/sh.h
patching file gcc-4.0.3/gcc/version.c
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... sh-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/sh-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... sh-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/sh-elf
make: *** No rule to make target `install'. Stop.
mkdir: cannot create directory `/home/alex/build-rbdev': File exists
== Summary ==
Target: m68k-elf
gcc 3.4.6
gcc patch gcc-3.4.6-amd64.patch
binutils 2.16.1
install in /usr/local/m68k-elf
when complete, make your PATH include /usr/local/m68k-elf/bin
binutils 2.16.1 already downloaded
ROCKBOXDEV: downloads ftp://ftp.gnu.org/pub/gnu/gcc/gcc-3.4.6/gcc-core-3.4.6.tar.bz2 using wget
--23:52:36-- ftp://ftp.gnu.org/pub/gnu/gcc/gcc-3.4.6/gcc-core-3.4.6.tar.bz2
=> `/home/alex/tmp/gcc-core-3.4.6.tar.bz2'
Resolving ftp.gnu.org... 140.186.70.20
Connecting to ftp.gnu.org|140.186.70.20|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /pub/gnu/gcc/gcc-3.4.6 ... done.
==> PASV ... done. ==> RETR gcc-core-3.4.6.tar.bz2 ... done.
Length: 13,366,790 (13M) (unauthoritative)
100%[====================================>] 13,366,790 685.47K/s ETA 00:00
23:52:56 (725.49 KB/s) - `/home/alex/tmp/gcc-core-3.4.6.tar.bz2' saved [13366790]
ROCKBOXDEV: downloads http://www.rockbox.org/twiki/pub/Main/CrossCompiler/gcc-3.4.6-amd64.patch using wget
--23:52:56-- http://www.rockbox.org/twiki/pub/Main/CrossCompiler/gcc-3.4.6-amd64.patch
=> `/home/alex/tmp/gcc-3.4.6-amd64.patch'
Resolving www.rockbox.org... 91.191.140.131
Connecting to www.rockbox.org|91.191.140.131|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,187 (1.2K) [text/x-diff]
100%[====================================>] 1,187 --.--K/s
23:52:56 (62.89 MB/s) - `/home/alex/tmp/gcc-3.4.6-amd64.patch' saved [1187/1187]
ROCKBOXDEV: extracting binutils-2.16.1 in /home/alex/build-rbdev
ROCKBOXDEV: extracting gcc-3.4.6 in /home/alex/build-rbdev
ROCKBOXDEV: applying gcc patch
patching file gcc-3.4.6/gcc/config/m68k/m68k.md
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... m68k-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/m68k-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... m68k-unknown-elf
checking build system type... x86_64-unknown-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
*** The command 'gcc -o conftest -g -O2 conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
ROCKBOXDEV: gcc/make
make: *** No targets specified and no makefile found. Stop.
ROCKBOXDEV: gcc/make install to /usr/local/m68k-elf
make: *** No rule to make target `install'. Stop.
mkdir: cannot create directory `/home/alex/build-rbdev': File exists
== 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
ROCKBOXDEV: downloads http://www.rockbox.org/twiki/pub/Main/CrossCompiler/thumb-interwork-4.0.3.diff using wget
--23:53:22-- http://www.rockbox.org/twiki/pub/Main/CrossCompiler/thumb-interwork-4.0.3.diff
=> `/home/alex/tmp/thumb-interwork-4.0.3.diff'
Resolving www.rockbox.org... 91.191.140.131
Connecting to www.rockbox.org|91.191.140.131|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 577 [text/x-diff]
100%[====================================>] 577 --.--K/s
23:53:22 (30.57 MB/s) - `/home/alex/tmp/thumb-interwork-4.0.3.diff' saved [577/577]
ROCKBOXDEV: extracting binutils-2.16.1 in /home/alex/build-rbdev
ROCKBOXDEV: extracting gcc-4.0.3 in /home/alex/build-rbdev
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.
== 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
== Summary ==
Target: m68k-elf
gcc 3.4.6
gcc patch gcc-3.4.6-amd64.patch
binutils 2.16.1
install in /usr/local/m68k-elf
when complete, make your PATH include /usr/local/m68k-elf/bin
== Summary ==
Target: sh-elf
gcc 4.0.3
gcc patch gcc-4.0.3-rockbox-1.diff
binutils 2.16.1
install in /usr/local/sh-elf
when complete, make your PATH include /usr/local/sh-elf/bin
done
Make your PATH include :/usr/local/sh-elf/bin:/usr/local/m68k-elf/bin:/usr/local/arm-elf/bin