Author

Topic: Bitcoin forks from source on ARM7 (Read 981 times)

sr. member
Activity: 294
Merit: 250
July 16, 2014, 11:43:13 PM
#7
Here are my compiler settings (generated automagically by autogen and configure):

build_triplet = armv6l-unknown-linux-gnueabihf
host_triplet = armv6l-unknown-linux-gnueabihf
build = armv6l-unknown-linux-gnueabihf
build_cpu = armv6l
host = armv6l-unknown-linux-gnueabihf
host_cpu = armv6l
CC = gcc
CCACHE =
CCDEPMODE = depmode=gcc3
CFLAGS = -g -O2
CPP = gcc -E
CPPFLAGS =  -DBOOST_SPIRIT_THREADSAFE -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64  -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2
CRYPTO_CFLAGS = 
CRYPTO_LIBS = -lcrypto 
CXX = g++
CXXCPP = g++ -E
CXXDEPMODE = depmode=gcc3
CXXFLAGS = -g -O2 -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter  -Wstack-protector -fstack-protector-all -fPIE

Miner is complied like this:

$(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libbitcoin_server_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libbitcoin_server_a-miner.o -MD -MP -MF $(DEPDIR)/libbitcoin_server_a-miner.Tpo -c -o libbitcoin_server_a-miner.o
legendary
Activity: 2156
Merit: 1132
July 16, 2014, 03:07:24 PM
#6
I just compiled bitcoin-cli from latest source:

src/bitcoin-cli --version
Bitcoin Core RPC client version v0.9.99.0-87e4079

file src/bitcoin-cli
src/bitcoin-cli: ELF 32-bit LSB shared object, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.26, BuildID[sha1]=0x1c56f3c90ca0af63f98b7666a6b55907f765125d, not stripped



Know i know what problem with build-in miner for x86, but unknown how disable it (ver 0.8.5). Absurd of situation what this fork only POS.
sr. member
Activity: 294
Merit: 250
July 16, 2014, 01:28:46 PM
#5
I just compiled bitcoin-cli from latest source:

src/bitcoin-cli --version
Bitcoin Core RPC client version v0.9.99.0-87e4079

file src/bitcoin-cli
src/bitcoin-cli: ELF 32-bit LSB shared object, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.26, BuildID[sha1]=0x1c56f3c90ca0af63f98b7666a6b55907f765125d, not stripped

sr. member
Activity: 294
Merit: 250
July 16, 2014, 10:25:33 AM
#4
Already read the manual. When data manipulation I have an error.

src / scrypt_mine.cpp: 32:23: fatal error: xmmintrin.h: No such file or directory
compilation terminated.
make: *** [build / scrypt_mine.o] Error 1


Compile from source without a flag mmse2, use flags march = native,
-flto

Have you tried to run the 'autogen.sh ' script? Something like this:

cd bitcoin
./autogen.sh
./configure
make

legendary
Activity: 2156
Merit: 1132
July 16, 2014, 05:20:16 AM
#3
Already read the manual. When data manipulation I have an error.

src / scrypt_mine.cpp: 32:23: fatal error: xmmintrin.h: No such file or directory
compilation terminated.
make: *** [build / scrypt_mine.o] Error 1


Compile from source without a flag mmse2, use flags march = native,
-flto
sr. member
Activity: 294
Merit: 250
July 16, 2014, 04:25:21 AM
#2
Bitcoin-qt has been compiled at least for Raspberry Pi having ARM processor. Here is one tutorial:
http://coincafe.net/2013/07/06/how-to-run-bitcoin-qt-on-the-raspberry-pi/
legendary
Activity: 2156
Merit: 1132
July 16, 2014, 02:57:28 AM
#1
Hello everybody! I want to compile one of the forks under armhs. (Tegra 250 - arm7). Maybe someone had the experience of compiling for ARM. Which version of the GCC compiler is needed? Which flags should be specified in the makefile? Thank you for your attention.
Jump to: