About Cross Compiling


I have questions to deploy the C++ on Hardware.

I am trying to deploy the example C++ code on the hardware, which could be a Cortex A53 hardware so i am using the
aarch64-linux-gnu-g+±7 as CXX.
while runing I am getting issues saying
lib/test_addone_sys.o: error adding symbols: File in wrong format

Do anyone know what this could be