Advertisement
Guest User

esp-open-sdk OSX 10.10

a guest
Dec 11th, 2014
579
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.79 KB | None | 0 0
  1. Mickys-MacBook-Pro:esp-open-sdk micky$ make STANDALONE=y
  2. make -C crosstool-NG -f ../Makefile _ct-ng
  3. ./bootstrap
  4. Running autoconf...
  5. Done. You may now run:
  6. ./configure
  7. ./configure --prefix=`pwd`
  8. checking build system type... x86_64-apple-darwin14.0.0
  9. checking host system type... x86_64-apple-darwin14.0.0
  10. checking for a BSD-compatible install... /opt/local/bin/ginstall -c
  11. checking for grep that handles long lines and -e... /opt/local/bin/grep
  12. checking for egrep... /opt/local/bin/grep -E
  13. checking for a sed that does not truncate output... /opt/local/bin/gsed
  14. checking whether sed understands -r -i -e... yes
  15. checking whether ln -s works... yes
  16. checking for gcc... gcc
  17. checking whether the C compiler works... yes
  18. checking for C compiler default output file name... a.out
  19. checking for suffix of executables...
  20. checking whether we are cross compiling... no
  21. checking for suffix of object files... o
  22. checking whether we are using the GNU C compiler... yes
  23. checking whether gcc accepts -g... yes
  24. checking for gcc option to accept ISO C89... none needed
  25. checking how to run the C preprocessor... gcc -E
  26. checking for ranlib... ranlib
  27. checking for gobjcopy... gobjcopy
  28. checking for absolute path to gobjcopy... /opt/local/bin/gobjcopy
  29. checking for gobjdump... gobjdump
  30. checking for absolute path to gobjdump... /opt/local/bin/gobjdump
  31. checking for greadelf... greadelf
  32. checking for absolute path to greadelf... /opt/local/bin/greadelf
  33. checking for gperf... gperf
  34. checking for absolute path to gperf... /opt/local/bin/gperf
  35. checking for bison... bison
  36. checking for flex... flex
  37. checking for makeinfo... makeinfo
  38. checking for cut... cut
  39. checking for stat... stat
  40. checking for readlink... readlink
  41. checking for wget... wget
  42. checking for tar... tar
  43. checking for gzip... gzip
  44. checking for bzip2... bzip2
  45. checking for patch... /usr/bin/patch
  46. checking for bash >= 3.1... /bin/bash
  47. checking for GNU awk... /opt/local/bin/gawk
  48. checking for GNU make >= 3.80... /usr/bin/make
  49. checking whether /usr/bin/make sets $(MAKE)... yes
  50. checking for make 3.81... yes
  51. checking for GNU libtool >= 1.5.26... /opt/local/bin/glibtool
  52. checking for GNU libtoolize >= 1.5.26... /opt/local/bin/glibtoolize
  53. checking for GNU automake >= 1.10... /opt/local/bin/automake
  54. checking for xz... xz
  55. checking for cvs... no
  56. checking for svn... svn
  57. checking for inline... inline
  58. checking for ANSI C header files... yes
  59. checking for sys/types.h... yes
  60. checking for sys/stat.h... yes
  61. checking for stdlib.h... yes
  62. checking for string.h... yes
  63. checking for memory.h... yes
  64. checking for strings.h... yes
  65. checking for inttypes.h... yes
  66. checking for stdint.h... yes
  67. checking for unistd.h... yes
  68. checking for stdlib.h... (cached) yes
  69. checking for GNU libc compatible malloc... yes
  70. checking for stdlib.h... (cached) yes
  71. checking for GNU libc compatible realloc... yes
  72. checking for size_t... yes
  73. checking for working alloca.h... yes
  74. checking for alloca... yes
  75. checking libintl.h usability... no
  76. checking libintl.h presence... no
  77. checking for libintl.h... no
  78. checking ncurses/ncurses.h usability... no
  79. checking ncurses/ncurses.h presence... no
  80. checking for ncurses/ncurses.h... no
  81. checking ncurses/curses.h usability... no
  82. checking ncurses/curses.h presence... no
  83. checking for ncurses/curses.h... no
  84. checking ncursesw/curses.h usability... no
  85. checking ncursesw/curses.h presence... no
  86. checking for ncursesw/curses.h... no
  87. checking ncurses.h usability... yes
  88. checking ncurses.h presence... yes
  89. checking for ncurses.h... yes
  90. checking for library containing initscr... -lncurses
  91. configure: creating ./config.status
  92. config.status: creating Makefile
  93. make MAKELEVEL=0
  94. SED 'ct-ng'
  95. SED 'scripts/crosstool-NG.sh'
  96. SED 'scripts/saveSample.sh'
  97. SED 'scripts/showTuple.sh'
  98. GEN 'config/configure.in'
  99. GEN 'paths.mk'
  100. GEN 'paths.sh'
  101. DEP 'nconf.gui.dep'
  102. DEP 'nconf.dep'
  103. DEP 'lxdialog/yesno.dep'
  104. DEP 'lxdialog/util.dep'
  105. DEP 'lxdialog/textbox.dep'
  106. DEP 'lxdialog/menubox.dep'
  107. DEP 'lxdialog/inputbox.dep'
  108. DEP 'lxdialog/checklist.dep'
  109. DEP 'mconf.dep'
  110. DEP 'conf.dep'
  111. BISON 'zconf.tab.c'
  112. GPERF 'zconf.hash.c'
  113. LEX 'lex.zconf.c'
  114. DEP 'zconf.tab.dep'
  115. CC 'zconf.tab.o'
  116. In file included from zconf.tab.c:2543:
  117. ./confdata.c:662:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  118. conf_message(_("configuration saved"));
  119. ^~~~~~~~~~~~~~~~~~~~~~~~
  120. ./lkc.h:41:17: note: expanded from macro '_'
  121. #define _(text) gettext(text)
  122. ^~~~~~~~~~~~~
  123. 1 warning generated.
  124. CC 'conf.o'
  125. conf.c:89:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  126. printf(_("(NEW) "));
  127. ^~~~~~~~~~~
  128. ./lkc.h:41:17: note: expanded from macro '_'
  129. #define _(text) gettext(text)
  130. ^~~~~~~~~~~~~
  131. conf.c:286:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  132. printf(_(" (NEW)"));
  133. ^~~~~~~~~~~
  134. ./lkc.h:41:17: note: expanded from macro '_'
  135. #define _(text) gettext(text)
  136. ^~~~~~~~~~~~~
  137. conf.c:432:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  138. printf(_("*\n* Restart config...\n*\n"));
  139. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  140. ./lkc.h:41:17: note: expanded from macro '_'
  141. #define _(text) gettext(text)
  142. ^~~~~~~~~~~~~
  143. conf.c:495:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  144. fprintf(stderr, _("See README for usage info\n"));
  145. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  146. ./lkc.h:41:17: note: expanded from macro '_'
  147. #define _(text) gettext(text)
  148. ^~~~~~~~~~~~~
  149. conf.c:571:6: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  150. _("\n*** The configuration requires explicit update.\n\n"));
  151. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  152. ./lkc.h:41:17: note: expanded from macro '_'
  153. #define _(text) gettext(text)
  154. ^~~~~~~~~~~~~
  155. conf.c:623:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  156. fprintf(stderr, _("\n*** Error during writing of the configuration.\n\n"));
  157. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  158. ./lkc.h:41:17: note: expanded from macro '_'
  159. #define _(text) gettext(text)
  160. ^~~~~~~~~~~~~
  161. conf.c:635:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  162. fprintf(stderr, _("\n*** Error during writing of the configuration.\n\n"));
  163. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  164. ./lkc.h:41:17: note: expanded from macro '_'
  165. #define _(text) gettext(text)
  166. ^~~~~~~~~~~~~
  167. 7 warnings generated.
  168. LD 'conf'
  169. CC 'lxdialog/checklist.o'
  170. CC 'lxdialog/inputbox.o'
  171. CC 'lxdialog/menubox.o'
  172. CC 'lxdialog/textbox.o'
  173. CC 'lxdialog/util.o'
  174. CC 'lxdialog/yesno.o'
  175. CC 'mconf.o'
  176. LD 'mconf'
  177. CC 'nconf.o'
  178. CC 'nconf.gui.o'
  179. LD 'nconf'
  180. SED 'docs/ct-ng.1'
  181. GZIP 'docs/ct-ng.1.gz'
  182. make install MAKELEVEL=0
  183. GEN 'config/configure.in'
  184. GEN 'paths.mk'
  185. GEN 'paths.sh'
  186. INST 'ct-ng'
  187. INSTDIR 'config/'
  188. INSTDIR 'contrib/'
  189. INSTDIR 'patches/'
  190. INSTDIR 'scripts/'
  191. INST 'steps.mk'
  192. INST 'paths'
  193. INSTDIR 'samples/'
  194. INST 'kconfig/'
  195. INST 'docs/*.txt'
  196. INST 'ct-ng.1.gz'
  197.  
  198. For auto-completion, do not forget to install 'ct-ng.comp' into
  199. your bash completion directory (usually /etc/bash_completion.d)
  200. make -C crosstool-NG -f ../Makefile _toolchain
  201. ./ct-ng xtensa-lx106-elf
  202. CONF config/config.in
  203. #
  204. # configuration saved
  205. #
  206.  
  207. ***********************************************************
  208.  
  209. Initially reported by: Max Filippov <jcmvbkbc@gmail.com>
  210. URL: http://www.esp8266.com/viewtopic.php?f=9&t=224
  211.  
  212. ***********************************************************
  213.  
  214. WARNING! This sample may enable experimental features.
  215. Please be sure to review the configuration prior
  216. to building and using your toolchain!
  217. Now, you have been warned!
  218.  
  219. ***********************************************************
  220.  
  221. Now configured for "xtensa-lx106-elf"
  222. sed -r -i.org s%CT_PREFIX_DIR=.*%CT_PREFIX_DIR="/Volumes/ESP8266/esp-open-sdk/xtensa-lx106-elf"% .config
  223. sed -r -i s%CT_INSTALL_DIR_RO=y%"#"CT_INSTALL_DIR_RO=y% .config
  224. cat ../crosstool-config-overrides >> .config
  225. ./ct-ng build
  226. [INFO ] Performing some trivial sanity checks
  227. [INFO ] Build started 20141211.211648
  228. [INFO ] Building environment variables
  229. [INFO ] =================================================================
  230. [INFO ] Retrieving needed toolchain components' tarballs
  231. [INFO ] Retrieving needed toolchain components' tarballs: done in 406.00s (at 06:47)
  232. [INFO ] =================================================================
  233. [INFO ] Extracting and patching toolchain components
  234. [INFO ] Extracting and patching toolchain components: done in 49.00s (at 07:36)
  235. [INFO ] =================================================================
  236. [INFO ] Installing GMP for host
  237. [INFO ] Installing GMP for host: done in 39.00s (at 08:15)
  238. [INFO ] =================================================================
  239. [INFO ] Installing MPFR for host
  240. [INFO ] Installing MPFR for host: done in 16.00s (at 08:31)
  241. [INFO ] =================================================================
  242. [INFO ] Installing ISL for host
  243. [INFO ] Installing ISL for host: done in 17.00s (at 08:48)
  244. [INFO ] =================================================================
  245. [INFO ] Installing CLooG for host
  246. [INFO ] Installing CLooG for host: done in 8.00s (at 08:57)
  247. [INFO ] =================================================================
  248. [INFO ] Installing MPC for host
  249. [INFO ] Installing MPC for host: done in 8.00s (at 09:05)
  250. [INFO ] =================================================================
  251. [INFO ] Installing binutils for host
  252. [INFO ] Installing binutils for host: done in 42.00s (at 09:47)
  253. [INFO ] =================================================================
  254. [INFO ] Installing pass-2 core C compiler
  255. [INFO ] Installing pass-2 core C compiler: done in 143.00s (at 12:10)
  256. [INFO ] =================================================================
  257. [INFO ] Installing C library
  258. [INFO ] Installing C library: done in 38.00s (at 12:48)
  259. [INFO ] =================================================================
  260. [INFO ] Installing final compiler
  261. [INFO ] Installing final compiler: done in 184.00s (at 15:52)
  262. [INFO ] =================================================================
  263. [INFO ] Installing cross-gdb
  264. [INFO ] Installing cross-gdb: done in 102.00s (at 17:34)
  265. [INFO ] =================================================================
  266. [INFO ] Cleaning-up the toolchain's directory
  267. [INFO ] Stripping all toolchain executables
  268. [INFO ] Cleaning-up the toolchain's directory: done in 2.00s (at 17:36)
  269. [INFO ] Build completed at 20141211.213424
  270. [INFO ] (elapsed: 17:36.00)
  271. [INFO ] Finishing installation (may take a few seconds)...
  272. [17:36] / cp esptool/esptool.py /Volumes/ESP8266/esp-open-sdk/xtensa-lx106-elf/bin/
  273. Creating irom version of libc...
  274. /Volumes/ESP8266/esp-open-sdk/xtensa-lx106-elf/bin/xtensa-lx106-elf-objcopy --rename-section .text=.irom0.text \
  275. --rename-section .literal=.irom0.literal /Volumes/ESP8266/esp-open-sdk/xtensa-lx106-elf/xtensa-lx106-elf/sysroot/lib/libc.a /Volumes/ESP8266/esp-open-sdk/xtensa-lx106-elf/xtensa-lx106-elf/sysroot/lib/libcirom.a;
  276. wget --content-disposition "http://bbs.espressif.com/download/file.php?id=72"
  277. --2014-12-11 21:34:27-- http://bbs.espressif.com/download/file.php?id=72
  278. Resolving bbs.espressif.com (bbs.espressif.com)... 192.185.229.242
  279. Connecting to bbs.espressif.com (bbs.espressif.com)|192.185.229.242|:80... connected.
  280. HTTP request sent, awaiting response... 200 OK
  281. Length: 1070625 (1.0M) [application/octet-stream]
  282. Saving to: 'esp_iot_sdk_v0.9.3_14_11_21.zip'
  283.  
  284. esp_iot_sdk_v0.9.3_14_11_21.zip 100%[======================================================================================>] 1.02M 454KB/s in 2.3s
  285.  
  286. 2014-12-11 21:34:31 (454 KB/s) - 'esp_iot_sdk_v0.9.3_14_11_21.zip' saved [1070625/1070625]
  287.  
  288. unzip -q -o esp_iot_sdk_v0.9.3_14_11_21.zip
  289. mv License esp_iot_sdk_v0.9.3
  290. touch esp_iot_sdk_v0.9.3/.dir
  291. ln -snf esp_iot_sdk_v0.9.3 sdk
  292. wget --content-disposition "http://bbs.espressif.com/download/file.php?id=73"
  293. --2014-12-11 21:34:31-- http://bbs.espressif.com/download/file.php?id=73
  294. Resolving bbs.espressif.com (bbs.espressif.com)... 192.185.229.242
  295. Connecting to bbs.espressif.com (bbs.espressif.com)|192.185.229.242|:80... connected.
  296. HTTP request sent, awaiting response... 200 OK
  297. Length: 58453 (57K) [application/octet-stream]
  298. Saving to: 'esp_iot_sdk_v0.9.3_14_11_21_patch1.zip'
  299.  
  300. esp_iot_sdk_v0.9.3_14_11_21_patch1.zip 100%[======================================================================================>] 57.08K 143KB/s in 0.4s
  301.  
  302. 2014-12-11 21:34:32 (143 KB/s) - 'esp_iot_sdk_v0.9.3_14_11_21_patch1.zip' saved [58453/58453]
  303.  
  304. unzip -q -o esp_iot_sdk_v0.9.3_14_11_21_patch1.zip
  305. Installing vendor SDK headers into toolchain sysroot
  306. Installing vendor SDK libs into toolchain sysroot
  307. Installing vendor SDK linker scripts into toolchain sysroot
  308. make -C lx106-hal -f ../Makefile _libhal
  309. autoreconf -i
  310. configure.ac:19: installing 'build-aux/compile'
  311. configure.ac:14: installing 'build-aux/config.guess'
  312. configure.ac:14: installing 'build-aux/config.sub'
  313. configure.ac:10: installing 'build-aux/install-sh'
  314. configure.ac:10: installing 'build-aux/missing'
  315. src/Makefile.am: installing 'build-aux/depcomp'
  316. PATH=/Volumes/ESP8266/esp-open-sdk/xtensa-lx106-elf/bin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/lib/mysql56/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin ./configure --host=xtensa-lx106-elf --prefix=/Volumes/ESP8266/esp-open-sdk/xtensa-lx106-elf/xtensa-lx106-elf/sysroot/usr
  317. checking for a BSD-compatible install... /opt/local/bin/ginstall -c
  318. checking whether build environment is sane... yes
  319. checking for xtensa-lx106-elf-strip... xtensa-lx106-elf-strip
  320. checking for a thread-safe mkdir -p... /opt/local/bin/gmkdir -p
  321. checking for gawk... gawk
  322. checking whether make sets $(MAKE)... yes
  323. checking whether make supports nested variables... yes
  324. checking build system type... x86_64-apple-darwin14.0.0
  325. checking host system type... xtensa-lx106-elf
  326. checking for style of include used by make... GNU
  327. checking for xtensa-lx106-elf-gcc... xtensa-lx106-elf-gcc
  328. checking whether the C compiler works... yes
  329. checking for C compiler default output file name... a.out
  330. checking for suffix of executables...
  331. checking whether we are cross compiling... yes
  332. checking for suffix of object files... o
  333. checking whether we are using the GNU C compiler... yes
  334. checking whether xtensa-lx106-elf-gcc accepts -g... yes
  335. checking for xtensa-lx106-elf-gcc option to accept ISO C89... none needed
  336. checking whether xtensa-lx106-elf-gcc understands -c and -o together... yes
  337. checking dependency style of xtensa-lx106-elf-gcc... gcc3
  338. checking dependency style of xtensa-lx106-elf-gcc... gcc3
  339. checking for xtensa-lx106-elf-gcc... (cached) xtensa-lx106-elf-gcc
  340. checking whether we are using the GNU C compiler... (cached) yes
  341. checking whether xtensa-lx106-elf-gcc accepts -g... (cached) yes
  342. checking for xtensa-lx106-elf-gcc option to accept ISO C89... (cached) none needed
  343. checking whether xtensa-lx106-elf-gcc understands -c and -o together... (cached) yes
  344. checking dependency style of xtensa-lx106-elf-gcc... (cached) gcc3
  345. checking for xtensa-lx106-elf-ranlib... xtensa-lx106-elf-ranlib
  346. checking for call0 ABI... yes
  347. checking that generated files are newer than configure... done
  348. configure: creating ./config.status
  349. config.status: creating Makefile
  350. config.status: creating include/Makefile
  351. config.status: creating src/Makefile
  352. config.status: creating src/config.h
  353. config.status: executing depfiles commands
  354. PATH=/Volumes/ESP8266/esp-open-sdk/xtensa-lx106-elf/bin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/lib/mysql56/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin make
  355. Making all in include
  356. make[3]: Nothing to be done for `all'.
  357. Making all in src
  358. sort "state.c" | uniq | awk -F '[()]' ' \
  359. /__SPLIT__.*_nw/ && !/__SPLIT__get_intpending_nw/ { next; } \
  360. /^#.* defined\(__SPLIT__(\w+)\)/ { \
  361. tag = $2; \
  362. sub(/__SPLIT__/, "", tag); \
  363. srcbase = "state"; \
  364. srcsuffix = ".c"; \
  365. print srcbase "--" tag srcsuffix ": state.c Makefile"; \
  366. print "\techo \"#define " $2 "\" >\"$@.splittmp\""; \
  367. print "\techo \"#include \\\"state.c\\\"\" >>\"$@.splittmp\""; \
  368. print "\tmv \"$@.splittmp\" \"$@\""; \
  369. print "libhal.a: " srcbase "--" tag ".o"; \
  370. print "libhal_a_OBJECTS += " srcbase "--" tag ".o"; \
  371. }' >"state.c-split.mk.splittmp"
  372. mv "state.c-split.mk.splittmp" "state.c-split.mk"
  373. sort "state_asm.S" | uniq | awk -F '[()]' ' \
  374. /__SPLIT__.*_nw/ && !/__SPLIT__get_intpending_nw/ { next; } \
  375. /^#.* defined\(__SPLIT__(\w+)\)/ { \
  376. tag = $2; \
  377. sub(/__SPLIT__/, "", tag); \
  378. srcbase = "state_asm"; \
  379. srcsuffix = ".S"; \
  380. print srcbase "--" tag srcsuffix ": state_asm.S Makefile"; \
  381. print "\techo \"#define " $2 "\" >\"$@.splittmp\""; \
  382. print "\techo \"#include \\\"state_asm.S\\\"\" >>\"$@.splittmp\""; \
  383. print "\tmv \"$@.splittmp\" \"$@\""; \
  384. print "libhal.a: " srcbase "--" tag ".o"; \
  385. print "libhal_a_OBJECTS += " srcbase "--" tag ".o"; \
  386. }' >"state_asm.S-split.mk.splittmp"
  387. mv "state_asm.S-split.mk.splittmp" "state_asm.S-split.mk"
  388. sort "mem_ecc_parity.S" | uniq | awk -F '[()]' ' \
  389. /__SPLIT__.*_nw/ && !/__SPLIT__get_intpending_nw/ { next; } \
  390. /^#.* defined\(__SPLIT__(\w+)\)/ { \
  391. tag = $2; \
  392. sub(/__SPLIT__/, "", tag); \
  393. srcbase = "mem_ecc_parity"; \
  394. srcsuffix = ".S"; \
  395. print srcbase "--" tag srcsuffix ": mem_ecc_parity.S Makefile"; \
  396. print "\techo \"#define " $2 "\" >\"$@.splittmp\""; \
  397. print "\techo \"#include \\\"mem_ecc_parity.S\\\"\" >>\"$@.splittmp\""; \
  398. print "\tmv \"$@.splittmp\" \"$@\""; \
  399. print "libhal.a: " srcbase "--" tag ".o"; \
  400. print "libhal_a_OBJECTS += " srcbase "--" tag ".o"; \
  401. }' >"mem_ecc_parity.S-split.mk.splittmp"
  402. mv "mem_ecc_parity.S-split.mk.splittmp" "mem_ecc_parity.S-split.mk"
  403. sort "interrupts.c" | uniq | awk -F '[()]' ' \
  404. /__SPLIT__.*_nw/ && !/__SPLIT__get_intpending_nw/ { next; } \
  405. /^#.* defined\(__SPLIT__(\w+)\)/ { \
  406. tag = $2; \
  407. sub(/__SPLIT__/, "", tag); \
  408. srcbase = "interrupts"; \
  409. srcsuffix = ".c"; \
  410. print srcbase "--" tag srcsuffix ": interrupts.c Makefile"; \
  411. print "\techo \"#define " $2 "\" >\"$@.splittmp\""; \
  412. print "\techo \"#include \\\"interrupts.c\\\"\" >>\"$@.splittmp\""; \
  413. print "\tmv \"$@.splittmp\" \"$@\""; \
  414. print "libhal.a: " srcbase "--" tag ".o"; \
  415. print "libhal_a_OBJECTS += " srcbase "--" tag ".o"; \
  416. }' >"interrupts.c-split.mk.splittmp"
  417. mv "interrupts.c-split.mk.splittmp" "interrupts.c-split.mk"
  418. sort "int_asm.S" | uniq | awk -F '[()]' ' \
  419. /__SPLIT__.*_nw/ && !/__SPLIT__get_intpending_nw/ { next; } \
  420. /^#.* defined\(__SPLIT__(\w+)\)/ { \
  421. tag = $2; \
  422. sub(/__SPLIT__/, "", tag); \
  423. srcbase = "int_asm"; \
  424. srcsuffix = ".S"; \
  425. print srcbase "--" tag srcsuffix ": int_asm.S Makefile"; \
  426. print "\techo \"#define " $2 "\" >\"$@.splittmp\""; \
  427. print "\techo \"#include \\\"int_asm.S\\\"\" >>\"$@.splittmp\""; \
  428. print "\tmv \"$@.splittmp\" \"$@\""; \
  429. print "libhal.a: " srcbase "--" tag ".o"; \
  430. print "libhal_a_OBJECTS += " srcbase "--" tag ".o"; \
  431. }' >"int_asm.S-split.mk.splittmp"
  432. mv "int_asm.S-split.mk.splittmp" "int_asm.S-split.mk"
  433. sort "cache_asm.S" | uniq | awk -F '[()]' ' \
  434. /__SPLIT__.*_nw/ && !/__SPLIT__get_intpending_nw/ { next; } \
  435. /^#.* defined\(__SPLIT__(\w+)\)/ { \
  436. tag = $2; \
  437. sub(/__SPLIT__/, "", tag); \
  438. srcbase = "cache_asm"; \
  439. srcsuffix = ".S"; \
  440. print srcbase "--" tag srcsuffix ": cache_asm.S Makefile"; \
  441. print "\techo \"#define " $2 "\" >\"$@.splittmp\""; \
  442. print "\techo \"#include \\\"cache_asm.S\\\"\" >>\"$@.splittmp\""; \
  443. print "\tmv \"$@.splittmp\" \"$@\""; \
  444. print "libhal.a: " srcbase "--" tag ".o"; \
  445. print "libhal_a_OBJECTS += " srcbase "--" tag ".o"; \
  446. }' >"cache_asm.S-split.mk.splittmp"
  447. mv "cache_asm.S-split.mk.splittmp" "cache_asm.S-split.mk"
  448. /Applications/Xcode.app/Contents/Developer/usr/bin/make all-am
  449. xtensa-lx106-elf-gcc -DHAVE_CONFIG_H -I. -I../include -mlongcalls -MT attribute.o -MD -MP -MF .deps/attribute.Tpo -c -o attribute.o attribute.c
  450. mv -f .deps/attribute.Tpo .deps/attribute.Po
  451. xtensa-lx106-elf-gcc -DHAVE_CONFIG_H -I. -I../include -mlongcalls -MT cache.o -MD -MP -MF .deps/cache.Tpo -c -o cache.o cache.c
  452. mv -f .deps/cache.Tpo .deps/cache.Po
  453. xtensa-lx106-elf-gcc -DHAVE_CONFIG_H -I. -I../include -mlongcalls -MT clock.o -MD -MP -MF .deps/clock.Tpo -c -o clock.o clock.S
  454. mv -f .deps/clock.Tpo .deps/clock.Po
  455. xtensa-lx106-elf-gcc -DHAVE_CONFIG_H -I. -I../include -mlongcalls -MT coherence.o -MD -MP -MF .deps/coherence.Tpo -c -o coherence.o coherence.c
  456. mv -f .deps/coherence.Tpo .deps/coherence.Po
  457. xtensa-lx106-elf-gcc -DHAVE_CONFIG_H -I. -I../include -mlongcalls -MT debug.o -MD -MP -MF .deps/debug.Tpo -c -o debug.o debug.c
  458. mv -f .deps/debug.Tpo .deps/debug.Po
  459. xtensa-lx106-elf-gcc -DHAVE_CONFIG_H -I. -I../include -mlongcalls -MT debug_hndlr.o -MD -MP -MF .deps/debug_hndlr.Tpo -c -o debug_hndlr.o debug_hndlr.S
  460. mv -f .deps/debug_hndlr.Tpo .deps/debug_hndlr.Po
  461. xtensa-lx106-elf-gcc -DHAVE_CONFIG_H -I. -I../include -mlongcalls -MT disass.o -MD -MP -MF .deps/disass.Tpo -c -o disass.o disass.c
  462. mv -f .deps/disass.Tpo .deps/disass.Po
  463. xtensa-lx106-elf-gcc -DHAVE_CONFIG_H -I. -I../include -mlongcalls -MT memcopy.o -MD -MP -MF .deps/memcopy.Tpo -c -o memcopy.o memcopy.S
  464. mv -f .deps/memcopy.Tpo .deps/memcopy.Po
  465. xtensa-lx106-elf-gcc -DHAVE_CONFIG_H -I. -I../include -mlongcalls -MT misc.o -MD -MP -MF .deps/misc.Tpo -c -o misc.o misc.c
  466. mv -f .deps/misc.Tpo .deps/misc.Po
  467. xtensa-lx106-elf-gcc -DHAVE_CONFIG_H -I. -I../include -mlongcalls -MT mmu.o -MD -MP -MF .deps/mmu.Tpo -c -o mmu.o mmu.c
  468. mv -f .deps/mmu.Tpo .deps/mmu.Po
  469. xtensa-lx106-elf-gcc -DHAVE_CONFIG_H -I. -I../include -mlongcalls -MT mp_asm.o -MD -MP -MF .deps/mp_asm.Tpo -c -o mp_asm.o mp_asm.S
  470. mv -f .deps/mp_asm.Tpo .deps/mp_asm.Po
  471. xtensa-lx106-elf-gcc -DHAVE_CONFIG_H -I. -I../include -mlongcalls -MT syscache_asm.o -MD -MP -MF .deps/syscache_asm.Tpo -c -o syscache_asm.o syscache_asm.S
  472. mv -f .deps/syscache_asm.Tpo .deps/syscache_asm.Po
  473. xtensa-lx106-elf-gcc -DHAVE_CONFIG_H -I. -I../include -mlongcalls -MT windowspill_asm.o -MD -MP -MF .deps/windowspill_asm.Tpo -c -o windowspill_asm.o windowspill_asm.S
  474. mv -f .deps/windowspill_asm.Tpo .deps/windowspill_asm.Po
  475. rm -f libhal.a
  476. ar cru libhal.a attribute.o cache.o clock.o coherence.o debug.o debug_hndlr.o disass.o memcopy.o misc.o mmu.o mp_asm.o syscache_asm.o windowspill_asm.o
  477. xtensa-lx106-elf-ranlib libhal.a
  478. make[3]: Nothing to be done for `all-am'.
  479. PATH=/Volumes/ESP8266/esp-open-sdk/xtensa-lx106-elf/bin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/lib/mysql56/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin make install
  480. Making install in include
  481. make[4]: Nothing to be done for `install-exec-am'.
  482. /opt/local/bin/gmkdir -p '/Volumes/ESP8266/esp-open-sdk/xtensa-lx106-elf/xtensa-lx106-elf/sysroot/usr/include'
  483. /opt/local/bin/gmkdir -p '/Volumes/ESP8266/esp-open-sdk/xtensa-lx106-elf/xtensa-lx106-elf/sysroot/usr/include/xtensa/config'
  484. /opt/local/bin/ginstall -c -m 644 xtensa/config/core.h xtensa/config/core-isa.h xtensa/config/core-matmap.h xtensa/config/defs.h xtensa/config/specreg.h xtensa/config/system.h xtensa/config/tie-asm.h xtensa/config/tie.h '/Volumes/ESP8266/esp-open-sdk/xtensa-lx106-elf/xtensa-lx106-elf/sysroot/usr/include/xtensa/config'
  485. /opt/local/bin/gmkdir -p '/Volumes/ESP8266/esp-open-sdk/xtensa-lx106-elf/xtensa-lx106-elf/sysroot/usr/include/xtensa'
  486. /opt/local/bin/ginstall -c -m 644 xtensa/cacheasm.h xtensa/coreasm.h xtensa/corebits.h xtensa/hal.h xtensa/xtensa-xer.h '/Volumes/ESP8266/esp-open-sdk/xtensa-lx106-elf/xtensa-lx106-elf/sysroot/usr/include/xtensa'
  487. Making install in src
  488. /opt/local/bin/gmkdir -p '/Volumes/ESP8266/esp-open-sdk/xtensa-lx106-elf/xtensa-lx106-elf/sysroot/usr/lib'
  489. /opt/local/bin/ginstall -c -m 644 libhal.a '/Volumes/ESP8266/esp-open-sdk/xtensa-lx106-elf/xtensa-lx106-elf/sysroot/usr/lib'
  490. ( cd '/Volumes/ESP8266/esp-open-sdk/xtensa-lx106-elf/xtensa-lx106-elf/sysroot/usr/lib' && xtensa-lx106-elf-ranlib libhal.a )
  491. xtensa-lx106-elf-ranlib: libhal.a: Error reading windowspill_asm.o: File truncated
  492. make[4]: *** [install-libLIBRARIES] Error 1
  493. make[3]: *** [install-am] Error 2
  494. make[2]: *** [install-recursive] Error 1
  495. make[1]: *** [_libhal] Error 2
  496. make: *** [/Volumes/ESP8266/esp-open-sdk/xtensa-lx106-elf/xtensa-lx106-elf/sysroot/usr/lib/libhal.a] Error 2
  497.  
  498.  
  499.  
  500. Mickys-MacBook-Pro:esp-open-sdk micky$ make STANDALONE=y
  501. cp esptool/esptool.py /Volumes/ESP8266/esp-open-sdk/xtensa-lx106-elf/bin/
  502. ln -snf esp_iot_sdk_v0.9.3 sdk
  503. Installing vendor SDK headers into toolchain sysroot
  504. Installing vendor SDK libs into toolchain sysroot
  505. Installing vendor SDK linker scripts into toolchain sysroot
  506.  
  507. Xtensa toolchain is built, to use it:
  508.  
  509. export PATH=/Volumes/ESP8266/esp-open-sdk/xtensa-lx106-elf/bin:$PATH
  510.  
  511. Espressif ESP8266 SDK is installed, its libraries and headers are merged with the toolchain
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement