Hello,
when I run
make -f makefile_HelloWorld_armv6vfphLinux3.xgcc4.7.2
I face the problem like this :
/usr/arm-linux-gnueabihf/include/bits/byteswap.h: In function ‘__bswap_32’:
/usr/arm-linux-gnueabihf/include/bits/byteswap.h:45:1: sorry, unimplemented: Thumb-1 hard-float VFP ABI
How can I solve it ?
ENV:
$LD_LIBRARY_PATH = /home/kay/rti_connext_dds-6.0.0/lib/armv6vfphLinux3.xgcc4.7.2
$NDDSHOME =/home/kay/rti_connext_dds-6.0.0
$PATH =/home/kay/toolchains/raspbian-toolchain-gcc-4.7.2-linux64/bin:/home/kay/rti_connext_dds-6.0.0/bin:/home/kay/toolchains/raspbian-toolchain-gcc-4.7.2-linux64/bin:/home/kay/rti_connext_dds-6.0.0/bin:
Attachment | Size |
---|---|
2019-09-24_15-58-40_de_ying_mu_xie_tu_.png | 92.45 KB |
Hi,
I have ran into this before. I suggest that you make change to your make file:
DEFINES = -fpic -DRTI_UNIX -DRTI_LINUX -march=armv6 -mfpu=vfp -mfloat-abi=hard -mlong-calls
Irwin
Hi irwin,
thanks a lot,
I change
DEFINES = -fpic -DRTI_UNIX -DRTI_LINUX -march=armv6 -mfpu=vfp -mfloat-abi=hard -mlong-calls
to
DEFINES = -fpic -DRTI_UNIX -DRTI_LINUX -marm -mfpu=vfp -mfloat-abi=hard -mlong-calls
It can work now !