Re: News! A WebIDE for 8266 Lua programming over the air
Posted: Sun Dec 21, 2014 10:17 am
you must be building from sources other than what you put on github as at the root of the tree "make" absolutely will not work without at least patching the xt-* filenames:
then within the app subdirectory, "make install" calls gen_misc.sh which will not work without replacing all occurances of xt-objdump and xt-objcopy with xtensa-lx106-elf-objdump and xtensa-lx106-elf-objcopy
next it calls gen_appbin.py which won't work without patching the names again:
but even then it calls genflashbinv6 which doesn't exist for linux.
and there's various other files not being created along the way:
Code: Select all
-AR = xt-ar
-CC = xt-xcc
-NM = xt-nm
-CPP = xt-cpp
-OBJCOPY = xt-objcopy
+AR = xtensa-lx106-elf-ar
+CC = xtensa-lx106-elf-gcc
+NM = xtensa-lx106-elf-nm
+CPP = xtensa-lx106-elf-cpp
+OBJCOPY = xtensa-lx106-elf-objcopy
then within the app subdirectory, "make install" calls gen_misc.sh which will not work without replacing all occurances of xt-objdump and xt-objcopy with xtensa-lx106-elf-objdump and xtensa-lx106-elf-objcopy
next it calls gen_appbin.py which won't work without patching the names again:
Code: Select all
-cmd = 'xt-nm -g ' + elf_file + ' > eagle.app.sym'
+cmd = 'xtensa-lx106-elf-nm -g ' + elf_file + ' > eagle.app.sym'
but even then it calls genflashbinv6 which doesn't exist for linux.
and there's various other files not being created along the way:
Code: Select all
rm: cannot remove ‘../bin/eagle.app.v6.flash.bin’: No such file or directory
mv: cannot stat ‘eagle.app.flash.bin’: No such file or directory
cp: cannot stat ‘eagle.app.v6.flash.bin’: No such file or directory
IOError: [Errno 2] No such file or directory: '../bin/eagle.app.v6.flash.bin'