Re: Anyone interested in Arduino Environment?
Posted: Mon Jan 18, 2016 3:25 pm
Linux 64 Toolchain: http://static.ficeto.com/xtensa-esp108- ... x64.tar.gz
It's the fourth day that I have been trying to build a toolchain for windows
I don't know how you guys use that OS for any development, but since you do, I'll give it another few days
If anyone has a recipe, I would love to give it a go.
Code: Select all
..
checking sys/filio.h usability... no
checking sys/filio.h presence... no
checking for sys/filio.h... no
checking for poll... no
checking for S_ISREG or S_IFREG... no
checking sys/uio.h usability... no
checking sys/uio.h presence... no
checking for sys/uio.h... no
checking for writev... no
checking for complex.h... (cached) no
no
checking for ISO C99 support to TR1 in <ctype.h>... no
checking fenv.h usability... no
checking fenv.h presence... no
checking for fenv.h... no
no
checking for ISO C99 support to TR1 in <stdint.h>... no
checking for ISO C99 support to TR1 in <math.h>... no
no
no
checking stdbool.h usability... no
checking stdbool.h presence... yes
configure: WARNING: stdbool.h: present but cannot be compiled
configure: WARNING: stdbool.h: check for missing prerequisite headers?
configure: WARNING: stdbool.h: see the Autoconf documentation
configure: WARNING: stdbool.h: section "Present But Cannot Be Compiled"
configure: WARNING: stdbool.h: proceeding with the compiler's result
checking for stdbool.h... no
checking stdalign.h usability... no
checking stdalign.h presence... yes
configure: WARNING: stdalign.h: present but cannot be compiled
configure: WARNING: stdalign.h: check for missing prerequisite headers?
configure: WARNING: stdalign.h: see the Autoconf documentation
configure: WARNING: stdalign.h: section "Present But Cannot Be Compiled"
configure: WARNING: stdalign.h: proceeding with the compiler's result
checking for stdalign.h... no
checking for the value of EOF... configure: error: computing EOF failed
make[1]: *** [configure-target-libstdc++-v3] Error 1
make[1]: Leaving directory `/c/gnu/gcc-4.8.1-build'
make: *** [all] Error 2
Code: Select all
gmp
../configure --prefix=/c/gnu/gmp-6.1.0-build --build=core2-pc-mingw32 --enable-cxx --with-gnu-ld
make
make install
mpfr
../mpfr-3.1.3/configure --prefix=/c/gnu/mpfr-3.1.3-build --enable-static --disable-shared --enable-thread-safe --with-gmp=/c/gnu/gmp-6.1.0-build
make
make install
mpc
../mpc-1.0.3/configure --prefix=/c/gnu/mpc-1.0.3-build --with-gnu-ld --enable-static --disable-shared --with-gmp=/c/gnu/gmp-6.1.0-build --with-mpfr=/c/gnu/mpfr-3.1.3-build
make
make install
gcc
../gcc-4.8.1/configure --prefix=/c/gnu/out --target=xtensa-esp108-elf --enable-multilib --disable-nls --disable-shared --disable-threads --with-gnu-as --with-gnu-ld --with-gmp=/c/gnu/gmp-6.1.0-build --with-mpfr=/c/gnu/mpfr-3.1.3-build --with-mpc=/c/gnu/mpc-1.0.3-build --enable-languages=c,c++ --with-newlib --disable-libssp --disable-__cxa_atexit
make
..breaks.. with error like posted
formated:
../gcc-4.8.1/configure \
--prefix=/c/gnu/out \
--target=xtensa-esp108-elf \
--enable-multilib \
--disable-nls \
--disable-shared \
--disable-threads \
--with-gnu-as \
--with-gnu-ld \
--with-gmp=/c/gnu/gmp-6.1.0-build \
--with-mpfr=/c/gnu/mpfr-3.1.3-build \
--with-mpc=/c/gnu/mpc-1.0.3-build \
--enable-languages=c,c++ \
--with-newlib \
--disable-libssp \
--disable-__cxa_atexit \
have try this too:
--with-newlib \
--with-headers=/c/gnu/newlib-2.2.0/newlib/libc/include \
Code: Select all
....[Arduino]/hardware
/avr
/tools
/Espressif << create that one and clone the repository inside
/ESP31B << this is the git repository
/core
/variants
/libraries
/tools << extract the toolchain inside this folder
/esptool.py
/gen_appgin.py
/sdk
/xtensa-esp108-elf << this is the extracted toolchain
/bin
/.....