[Quickfix-developers] quickfix ARM cross compilation in linux
Brought to you by:
orenmnero
From: Johan V. De W. <joh...@gm...> - 2019-07-17 19:30:17
|
Hi all, I've been trying to cross compile quickfix for the arm architecture. I'm trying from my normal laptop debian. I've been running the ./configure command with many options, specifying the toolchain and when I go to make it, I get the following error: > libtool: compile: arm-linux-gnueabihf-g++ -DHAVE_CONFIG_H -I. -I../../.. > -I.. -I../../../UnitTest++/src -g -O2 -Wall -ansi > -Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings > -Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated > -std=c++0x -O0 -g -MT MessageSortersTestCase.lo -MD -MP -MF > .deps/MessageSortersTestCase.Tpo -c MessageSortersTestCase.cpp -fPIC -DPIC > -o .libs/MessageSortersTestCase.o > /tmp/ccU67tE0.s: Assembler messages: > /tmp/ccU67tE0.s:7858: Error: bad instruction `lock' > /tmp/ccU67tE0.s:7859: Error: bad instruction `xadd r3,[r2]' As far as I can understand, this could mean two things. Or that the toolchain was specify incorrectly, therefore I would really wanted to ask you to check what am I doing wrong, or that the whole library can't be compiled for ARM architecture because there're some specific assembly operation that are just non compatible. The configure that I'm using looks like: > ./configure --host=arm-linux-gnueabihf --prefix=/home/dummy/quickfix_arm > CC=arm-linux-gnueabihf-gcc CXX=arm-linux-gnueabihf-g++ Thanks in advance for your help guys. Regards, Johan |