Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
export SOURCERY="`pwd`/sourcery/arm-2009q1"
export TOOL_PREFIX="$SOURCERY/bin/arm-none-linux-gnueabi"
export CXX=$TOOL_PREFIX-g++
export AR=$TOOL_PREFIX-ar
export RANLIB=$TOOL_PREFIX-ranlib
export CC=$TOOL_PREFIX-gcc
export LD=$TOOL_PREFIX-ld
export LINK=$CXX
export CCFLAGS="-march=armv7-a -mtune=cortex-a8 -mfpu=vfp"
export ARM_TARGET_LIB="$SOURCERY/arm-none-linux-gnueabi/libc"
cd node
make distclean
make clean
./configure --without-ssl --without-snapshot --dest-cpu=arm --dest-os=linux
make --jobs=16
/src/ares -I/vagrant/deps/node/out/Release/obj/gen -I../deps/http_parser -I../deps/uv/include -I../deps/v8/include -I../deps/zlib -Wall -pthread -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -fno-rtti -fno-exceptions -MMD -MF /vagrant/deps/node/out/Release/.deps//vagrant/deps/node/out/Release/obj.target/node/src/udp_wrap.o.d.raw -c -o /vagrant/deps/node/out/Release/obj.target/node/src/udp_wrap.o ../src/udp_wrap.cc
/vagrant/deps/sourcery/arm-2009q1/bin/arm-none-linux-gnueabi-g++ '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DNODE_WANT_INTERNALS=1' '-DARCH="arm"' '-DPLATFORM="linux"' '-DHAVE_OPENSSL=0' '-D__POSIX__' -I../src -I../deps/uv/src/ares -I/vagrant/deps/node/out/Release/obj/gen -I../deps/http_parser -I../deps/uv/include -I../deps/v8/include -I../deps/zlib -Wall -pthread -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -fno-rtti -fno-exceptions -MMD -MF /vagrant/deps/node/out/Release/.deps//vagrant/deps/node/out/Release/obj.target/node/src/node_signal_watcher.o.d.raw -c -o /vagrant/deps/node/out/Release/obj.target/node/src/node_signal_watcher.o ../src/node_signal_watcher.cc
/vagrant/deps/sourcery/arm-2009q1/bin/arm-none-linux-gnueabi-g++ '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DNODE_WANT_INTERNALS=1' '-DARCH="arm"' '-DPLATFORM="linux"' '-DHAVE_OPENSSL=0' '-D__POSIX__' -I../src -I../deps/uv/src/ares -I/vagrant/deps/node/out/Release/obj/gen -I../deps/http_parser -I../deps/uv/include -I../deps/v8/include -I../deps/zlib -Wall -pthread -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -fno-rtti -fno-exceptions -MMD -MF /vagrant/deps/node/out/Release/.deps//vagrant/deps/node/out/Release/obj.target/node/src/node_io_watcher.o.d.raw -c -o /vagrant/deps/node/out/Release/obj.target/node/src/node_io_watcher.o ../src/node_io_watcher.cc
/vagrant/deps/sourcery/arm-2009q1/bin/arm-none-linux-gnueabi-ld -pthread -o /vagrant/deps/node/out/Release/node -Wl,--start-group /vagrant/deps/node/out/Release/obj.target/node/src/fs_event_wrap.o /vagrant/deps/node/out/Release/obj.target/node/src/cares_wrap.o /vagrant/deps/node/out/Release/obj.target/node/src/handle_wrap.o /vagrant/deps/node/out/Release/obj.target/node/src/node.o /vagrant/deps/node/out/Release/obj.target/node/src/node_buffer.o /vagrant/deps/node/out/Release/obj.target/node/src/node_constants.o /vagrant/deps/node/out/Release/obj.target/node/src/node_extensions.o /vagrant/deps/node/out/Release/obj.target/node/src/node_file.o /vagrant/deps/node/out/Release/obj.target/node/src/node_http_parser.o /vagrant/deps/node/out/Release/obj.target/node/src/node_javascript.o /vagrant/deps/node/out/Release/obj.target/node/src/node_main.o /vagrant/deps/node/out/Release/obj.target/node/src/node_os.o /vagrant/deps/node/out/Release/obj.target/node/src/node_script.o /vagrant/deps/node/out/Release/obj.target/node/src/node_stat_watcher.o /vagrant/deps/node/out/Release/obj.target/node/src/node_string.o /vagrant/deps/node/out/Release/obj.target/node/src/node_zlib.o /vagrant/deps/node/out/Release/obj.target/node/src/pipe_wrap.o /vagrant/deps/node/out/Release/obj.target/node/src/stream_wrap.o /vagrant/deps/node/out/Release/obj.target/node/src/slab_allocator.o /vagrant/deps/node/out/Release/obj.target/node/src/tcp_wrap.o /vagrant/deps/node/out/Release/obj.target/node/src/timer_wrap.o /vagrant/deps/node/out/Release/obj.target/node/src/tty_wrap.o /vagrant/deps/node/out/Release/obj.target/node/src/process_wrap.o /vagrant/deps/node/out/Release/obj.target/node/src/v8_typed_array.o /vagrant/deps/node/out/Release/obj.target/node/src/udp_wrap.o /vagrant/deps/node/out/Release/obj.target/node/src/node_signal_watcher.o /vagrant/deps/node/out/Release/obj.target/node/src/node_io_watcher.o /vagrant/deps/node/out/Release/obj.target/deps/http_parser/libhttp_parser.a /vagrant/deps/node/out/Release/obj.target/deps/uv/libuv.a /vagrant/deps/node/out/Release/obj.target/deps/zlib/libchrome_zlib.a /vagrant/deps/node/out/Release/obj.target/deps/v8/tools/gyp/libv8_base.a /vagrant/deps/node/out/Release/obj.target/deps/v8/tools/gyp/libv8_nosnapshot.a -Wl,--end-group -lrt -ldl
/vagrant/deps/sourcery/arm-2009q1/bin/arm-none-linux-gnueabi-ld: unrecognized option '-Wl,--start-group'
/vagrant/deps/sourcery/arm-2009q1/bin/arm-none-linux-gnueabi-ld: use the --help option for usage information
make[1]: *** [/vagrant/deps/node/out/Release/node] Error 1
make[1]: Leaving directory `/vagrant/deps/node/out'
make: *** [node] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.