Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Anonymous
Wednesday, September 5th, 2007 at 10:01:33pm UTC 

  1. alex@MaximusLappy:~/rockbox$ sudo ./tools/rockboxdev.sh
  2. /home/alex/tmp has been created to store downloads in
  3. Download directory: /home/alex/tmp (edit script to change dir)
  4. Install prefix: /usr/local/[target] (edit script to change dir)
  5. Build dir: /home/alex/build-rbdev (edit script to change dir)
  6.  
  7. Select target arch:
  8. s   - sh       (Archos models)
  9. m   - m68k     (iriver h1x0/h3x0, ifp7x0 and iaudio)
  10. a   - arm      (ipods, iriver H10, Sansa, etc)
  11. all - all three compilers
  12. all
  13. build ALL compilers!
  14. == Summary ==
  15. Target: sh-elf
  16. gcc 4.0.3
  17. gcc patch gcc-4.0.3-rockbox-1.diff
  18. binutils 2.16.1
  19. install in /usr/local/sh-elf
  20. when complete, make your PATH include /usr/local/sh-elf/bin
  21. ROCKBOXDEV: downloads ftp://ftp.gnu.org/pub/gnu/binutils/binutils-2.16.1.tar.bz2 using wget
  22. --23:51:24--  ftp://ftp.gnu.org/pub/gnu/binutils/binutils-2.16.1.tar.bz2
  23.            => `/home/alex/tmp/binutils-2.16.1.tar.bz2'
  24. Resolving ftp.gnu.org... 140.186.70.20
  25. Connecting to ftp.gnu.org|140.186.70.20|:21... connected.
  26. Logging in as anonymous ... Logged in!
  27. ==> SYST ... done.    ==> PWD ... done.
  28. ==> TYPE I ... done.  ==> CWD /pub/gnu/binutils ... done.
  29. ==> PASV ... done.    ==> RETR binutils-2.16.1.tar.bz2 ... done.
  30. Length: 12,549,917 (12M) (unauthoritative)
  31.  
  32. 100%[====================================>] 12,549,917   750.06K/s    ETA 00:00
  33.  
  34. 23:51:42 (738.08 KB/s) - `/home/alex/tmp/binutils-2.16.1.tar.bz2' saved [12549917]
  35.  
  36. ROCKBOXDEV: downloads ftp://ftp.gnu.org/pub/gnu/gcc/gcc-4.0.3/gcc-core-4.0.3.tar.bz2 using wget
  37. --23:51:42--  ftp://ftp.gnu.org/pub/gnu/gcc/gcc-4.0.3/gcc-core-4.0.3.tar.bz2
  38.            => `/home/alex/tmp/gcc-core-4.0.3.tar.bz2'
  39. Resolving ftp.gnu.org... 140.186.70.20
  40. Connecting to ftp.gnu.org|140.186.70.20|:21... connected.
  41. Logging in as anonymous ... Logged in!
  42. ==> SYST ... done.    ==> PWD ... done.
  43. ==> TYPE I ... done.  ==> CWD /pub/gnu/gcc/gcc-4.0.3 ... done.
  44. ==> PASV ... done.    ==> RETR gcc-core-4.0.3.tar.bz2 ... done.
  45. Length: 15,573,608 (15M) (unauthoritative)
  46.  
  47. 100%[====================================>] 15,573,608   778.71K/s    ETA 00:00
  48.  
  49. 23:52:05 (728.68 KB/s) - `/home/alex/tmp/gcc-core-4.0.3.tar.bz2' saved [15573608]
  50.  
  51. ROCKBOXDEV: downloads http://www.rockbox.org/twiki/pub/Main/CrossCompiler/gcc-4.0.3-rockbox-1.diff using wget
  52. --23:52:05--  http://www.rockbox.org/twiki/pub/Main/CrossCompiler/gcc-4.0.3-rockbox-1.diff
  53.            => `/home/alex/tmp/gcc-4.0.3-rockbox-1.diff'
  54. Resolving www.rockbox.org... 91.191.140.131
  55. Connecting to www.rockbox.org|91.191.140.131|:80... connected.
  56. HTTP request sent, awaiting response... 200 OK
  57. Length: 1,737 (1.7K) [text/x-diff]
  58.  
  59. 100%[====================================>] 1,737         --.--K/s             
  60.  
  61. 23:52:05 (66.26 MB/s) - `/home/alex/tmp/gcc-4.0.3-rockbox-1.diff' saved [1737/1737]
  62.  
  63. ROCKBOXDEV: extracting binutils-2.16.1 in /home/alex/build-rbdev
  64. ROCKBOXDEV: extracting gcc-4.0.3 in /home/alex/build-rbdev
  65. ROCKBOXDEV: applying gcc patch
  66. patching file gcc-4.0.3/gcc/config/sh/sh.h
  67. patching file gcc-4.0.3/gcc/version.c
  68. ROCKBOXDEV: mkdir build-binu
  69. ROCKBOXDEV: cd build-binu
  70. ROCKBOXDEV: binutils/configure
  71. creating cache ./config.cache
  72. checking host system type... x86_64-unknown-linux-gnu
  73. checking target system type... sh-unknown-elf
  74. checking build system type... x86_64-unknown-linux-gnu
  75. checking for a BSD compatible install... /usr/bin/install -c
  76. checking whether ln works... yes
  77. checking whether ln -s works... yes
  78. checking for gcc... gcc
  79. checking whether the C compiler (gcc  ) works... no
  80. configure: error: installation or configuration problem: C compiler cannot create executables.
  81. ROCKBOXDEV: binutils/make
  82. make: *** No targets specified and no makefile found. Stop.
  83. ROCKBOXDEV: binutils/make install to /usr/local/sh-elf
  84. make: *** No rule to make target `install'. Stop.
  85. ROCKBOXDEV: mkdir build-gcc
  86. ROCKBOXDEV: cd build-gcc
  87. ROCKBOXDEV: gcc/configure
  88. creating cache ./config.cache
  89. checking host system type... x86_64-unknown-linux-gnu
  90. checking target system type... sh-unknown-elf
  91. checking build system type... x86_64-unknown-linux-gnu
  92. checking for a BSD compatible install... /usr/bin/install -c
  93. checking whether ln works... yes
  94. checking whether ln -s works... yes
  95. checking for gcc... gcc
  96. checking whether the C compiler (gcc  ) works... no
  97. configure: error: installation or configuration problem: C compiler cannot create executables.
  98. ROCKBOXDEV: gcc/make
  99. make: *** No targets specified and no makefile found. Stop.
  100. ROCKBOXDEV: gcc/make install to /usr/local/sh-elf
  101. make: *** No rule to make target `install'. Stop.
  102. mkdir: cannot create directory `/home/alex/build-rbdev': File exists
  103. == Summary ==
  104. Target: m68k-elf
  105. gcc 3.4.6
  106. gcc patch gcc-3.4.6-amd64.patch
  107. binutils 2.16.1
  108. install in /usr/local/m68k-elf
  109. when complete, make your PATH include /usr/local/m68k-elf/bin
  110. binutils 2.16.1 already downloaded
  111. ROCKBOXDEV: downloads ftp://ftp.gnu.org/pub/gnu/gcc/gcc-3.4.6/gcc-core-3.4.6.tar.bz2 using wget
  112. --23:52:36--  ftp://ftp.gnu.org/pub/gnu/gcc/gcc-3.4.6/gcc-core-3.4.6.tar.bz2
  113.            => `/home/alex/tmp/gcc-core-3.4.6.tar.bz2'
  114. Resolving ftp.gnu.org... 140.186.70.20
  115. Connecting to ftp.gnu.org|140.186.70.20|:21... connected.
  116. Logging in as anonymous ... Logged in!
  117. ==> SYST ... done.    ==> PWD ... done.
  118. ==> TYPE I ... done.  ==> CWD /pub/gnu/gcc/gcc-3.4.6 ... done.
  119. ==> PASV ... done.    ==> RETR gcc-core-3.4.6.tar.bz2 ... done.
  120. Length: 13,366,790 (13M) (unauthoritative)
  121.  
  122. 100%[====================================>] 13,366,790   685.47K/s    ETA 00:00
  123.  
  124. 23:52:56 (725.49 KB/s) - `/home/alex/tmp/gcc-core-3.4.6.tar.bz2' saved [13366790]
  125.  
  126. ROCKBOXDEV: downloads http://www.rockbox.org/twiki/pub/Main/CrossCompiler/gcc-3.4.6-amd64.patch using wget
  127. --23:52:56--  http://www.rockbox.org/twiki/pub/Main/CrossCompiler/gcc-3.4.6-amd64.patch
  128.            => `/home/alex/tmp/gcc-3.4.6-amd64.patch'
  129. Resolving www.rockbox.org... 91.191.140.131
  130. Connecting to www.rockbox.org|91.191.140.131|:80... connected.
  131. HTTP request sent, awaiting response... 200 OK
  132. Length: 1,187 (1.2K) [text/x-diff]
  133.  
  134. 100%[====================================>] 1,187         --.--K/s             
  135.  
  136. 23:52:56 (62.89 MB/s) - `/home/alex/tmp/gcc-3.4.6-amd64.patch' saved [1187/1187]
  137.  
  138. ROCKBOXDEV: extracting binutils-2.16.1 in /home/alex/build-rbdev
  139. ROCKBOXDEV: extracting gcc-3.4.6 in /home/alex/build-rbdev
  140. ROCKBOXDEV: applying gcc patch
  141. patching file gcc-3.4.6/gcc/config/m68k/m68k.md
  142. ROCKBOXDEV: mkdir build-binu
  143. ROCKBOXDEV: cd build-binu
  144. ROCKBOXDEV: binutils/configure
  145. creating cache ./config.cache
  146. checking host system type... x86_64-unknown-linux-gnu
  147. checking target system type... m68k-unknown-elf
  148. checking build system type... x86_64-unknown-linux-gnu
  149. checking for a BSD compatible install... /usr/bin/install -c
  150. checking whether ln works... yes
  151. checking whether ln -s works... yes
  152. checking for gcc... gcc
  153. checking whether the C compiler (gcc  ) works... no
  154. configure: error: installation or configuration problem: C compiler cannot create executables.
  155. ROCKBOXDEV: binutils/make
  156. make: *** No targets specified and no makefile found. Stop.
  157. ROCKBOXDEV: binutils/make install to /usr/local/m68k-elf
  158. make: *** No rule to make target `install'. Stop.
  159. ROCKBOXDEV: mkdir build-gcc
  160. ROCKBOXDEV: cd build-gcc
  161. ROCKBOXDEV: gcc/configure
  162. creating cache ./config.cache
  163. checking host system type... x86_64-unknown-linux-gnu
  164. checking target system type... m68k-unknown-elf
  165. checking build system type... x86_64-unknown-linux-gnu
  166. checking for a BSD compatible install... /usr/bin/install -c
  167. /usr/bin/ld: crt1.o: No such file: No such file or directory
  168. collect2: ld returned 1 exit status
  169. *** The command 'gcc -o conftest -g -O2   conftest.c' failed.
  170. *** You must set the environment variable CC to a working compiler.
  171. ROCKBOXDEV: gcc/make
  172. make: *** No targets specified and no makefile found. Stop.
  173. ROCKBOXDEV: gcc/make install to /usr/local/m68k-elf
  174. make: *** No rule to make target `install'. Stop.
  175. mkdir: cannot create directory `/home/alex/build-rbdev': File exists
  176. == Summary ==
  177. Target: arm-elf
  178. gcc 4.0.3
  179. gcc patch thumb-interwork-4.0.3.diff
  180. binutils 2.16.1
  181. install in /usr/local/arm-elf
  182. when complete, make your PATH include /usr/local/arm-elf/bin
  183. binutils 2.16.1 already downloaded
  184. gcc 4.0.3 already downloaded
  185. ROCKBOXDEV: downloads http://www.rockbox.org/twiki/pub/Main/CrossCompiler/thumb-interwork-4.0.3.diff using wget
  186. --23:53:22--  http://www.rockbox.org/twiki/pub/Main/CrossCompiler/thumb-interwork-4.0.3.diff
  187.            => `/home/alex/tmp/thumb-interwork-4.0.3.diff'
  188. Resolving www.rockbox.org... 91.191.140.131
  189. Connecting to www.rockbox.org|91.191.140.131|:80... connected.
  190. HTTP request sent, awaiting response... 200 OK
  191. Length: 577 [text/x-diff]
  192.  
  193. 100%[====================================>] 577           --.--K/s             
  194.  
  195. 23:53:22 (30.57 MB/s) - `/home/alex/tmp/thumb-interwork-4.0.3.diff' saved [577/577]
  196.  
  197. ROCKBOXDEV: extracting binutils-2.16.1 in /home/alex/build-rbdev
  198. ROCKBOXDEV: extracting gcc-4.0.3 in /home/alex/build-rbdev
  199. ROCKBOXDEV: applying gcc patch
  200. patching file ./gcc-4.0.3/gcc/config/arm/t-arm-elf
  201. ROCKBOXDEV: mkdir build-binu
  202. ROCKBOXDEV: cd build-binu
  203. ROCKBOXDEV: binutils/configure
  204. creating cache ./config.cache
  205. checking host system type... x86_64-unknown-linux-gnu
  206. checking target system type... arm-unknown-elf
  207. checking build system type... x86_64-unknown-linux-gnu
  208. checking for a BSD compatible install... /usr/bin/install -c
  209. checking whether ln works... yes
  210. checking whether ln -s works... yes
  211. checking for gcc... gcc
  212. checking whether the C compiler (gcc  ) works... no
  213. configure: error: installation or configuration problem: C compiler cannot create executables.
  214. ROCKBOXDEV: binutils/make
  215. make: *** No targets specified and no makefile found. Stop.
  216. ROCKBOXDEV: binutils/make install to /usr/local/arm-elf
  217. make: *** No rule to make target `install'. Stop.
  218. ROCKBOXDEV: mkdir build-gcc
  219. ROCKBOXDEV: cd build-gcc
  220. ROCKBOXDEV: gcc/configure
  221. creating cache ./config.cache
  222. checking host system type... x86_64-unknown-linux-gnu
  223. checking target system type... arm-unknown-elf
  224. checking build system type... x86_64-unknown-linux-gnu
  225. checking for a BSD compatible install... /usr/bin/install -c
  226. checking whether ln works... yes
  227. checking whether ln -s works... yes
  228. checking for gcc... gcc
  229. checking whether the C compiler (gcc  ) works... no
  230. configure: error: installation or configuration problem: C compiler cannot create executables.
  231. ROCKBOXDEV: gcc/make
  232. make: *** No targets specified and no makefile found. Stop.
  233. ROCKBOXDEV: gcc/make install to /usr/local/arm-elf
  234. make: *** No rule to make target `install'. Stop.
  235. == Summary ==
  236. Target: arm-elf
  237. gcc 4.0.3
  238. gcc patch thumb-interwork-4.0.3.diff
  239. binutils 2.16.1
  240. install in /usr/local/arm-elf
  241. when complete, make your PATH include /usr/local/arm-elf/bin
  242. == Summary ==
  243. Target: m68k-elf
  244. gcc 3.4.6
  245. gcc patch gcc-3.4.6-amd64.patch
  246. binutils 2.16.1
  247. install in /usr/local/m68k-elf
  248. when complete, make your PATH include /usr/local/m68k-elf/bin
  249. == Summary ==
  250. Target: sh-elf
  251. gcc 4.0.3
  252. gcc patch gcc-4.0.3-rockbox-1.diff
  253. binutils 2.16.1
  254. install in /usr/local/sh-elf
  255. when complete, make your PATH include /usr/local/sh-elf/bin
  256. done
  257.  
  258. Make your PATH include :/usr/local/sh-elf/bin:/usr/local/m68k-elf/bin:/usr/local/arm-elf/bin

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

comments powered by Disqus
worth-right
worth-right
worth-right