Hello,
I made a small modification to UHD and would like to compile and use my
version.
Since I never succeeded to cross-compile I decided to try to compile it on
the target itself.
I am working with an USRP E310.
I cloned the 3.15.LTS repository, modified one of the files and tried to
compile.
Du
You have to specify a NEON architecture during CMake.
cmake -DCMAKE_CXX_FLAGS:STRING="-march=armv7-a -mfloat-abi=hard
-mfpu=neon -mtune=cortex-a9 -Wno-psabi"
-DCMAKE_C_FLAGS:STRING="-march=armv7-a -mfloat-abi=hard -mfpu=neon
-mtune=cortex-a9 -Wno-psabi" -DCMAKE_ASM_FLAGS:STRING="-march=armv7-a
He should have a toolchain file that has this in it.
What stops you from cross compiling it?
I realize there is a lot of bad information on the web :(
Philip
On 2/6/21 2:24 PM, Ron Economos via USRP-users wrote:
> You have to specify a NEON architecture during CMake.
>
> cmake -DCMAKE_CXX_FLAG