-
-
Notifications
You must be signed in to change notification settings - Fork 33.5k
Closed
Labels
buildIssues and PRs related to build files or the CI.Issues and PRs related to build files or the CI.mipsIssues and PRs related to the MIPS architecture.Issues and PRs related to the MIPS architecture.
Description
- v6.4.0:
- OpenWrt:
- Subsystem:
Hi guys, I am trying to cross compile Node v6.4.0 for MT7620 MIPS platform using the OpenWrt 15.05.1 toolchain. I cannot get it to complete successfully and always get error:
../src/backtrace_posix.cc:16:22: fatal error: execinfo.h: No such file or directory #include <execinfo.h>
I am also attaching my install script that I use to cross compile node... Any thoughts?
Install Script:
#!/bin/sh
export STAGING_DIR=/home/centaur/Simcom/OpenWrt-SDK-15.05.1-ramips-mt7620_gcc-4.8-linaro_uClibc-0.9.33.2.Linux-x86_64/staging_dir/
export BASE=${STAGING_DIR}toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/
export PREFIX=${BASE}bin/mipsel-openwrt-linux-
export CSTOOLS=${BASE}
export CSTOOLS_INC=${CSTOOLS}/include
export CSTOOLS_LIB=${CSTOOLS}/lib
export CC=${PREFIX}gcc
export CXX=${PREFIX}g++
export AR=${PREFIX}ar
export LD=${PREFIX}ld
export LD_LIBRARY_PATH=${BASE}lib
export LIBPATH=${LD_LIBRARY_PATH}
export RANLIB=${PREFIX}ranlib
export PATH=${BASE}bin:${PATH}
export LINK=${CXX}
export CCFLAGS="-march=24kec -mtune=24kec"
export CXXFLAGS="-march=24kec -mtune=24kec"
export LDFLAGS='-Wl,-rpath-link '${LIBPATH}
./configure --without-snapshot --dest-cpu=mipsel --with-mips-float-abi=soft --dest-os=linux --prefix=/opt/software --with-intl=none
make --jobs=6
make install
Metadata
Metadata
Assignees
Labels
buildIssues and PRs related to build files or the CI.Issues and PRs related to build files or the CI.mipsIssues and PRs related to the MIPS architecture.Issues and PRs related to the MIPS architecture.