[USRP-users] Failed to compile UHD 3.15 on E310 target

2021-02-06 Thread Ofer Saferman via USRP-users
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

Re: [USRP-users] Failed to compile UHD 3.15 on E310 target

2021-02-06 Thread Ron Economos via USRP-users
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

Re: [USRP-users] Failed to compile UHD 3.15 on E310 target

2021-02-06 Thread Philip Balister via USRP-users
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