This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

about objcopy

Hi all, I'm trying to porting a program onto a ODROID board. I'm using arm-linux-gnueabihf-objcopy to transform some binary files to .o files, and was able to do so. However, when I try to link these .o files it keep showing errors like : "/usr/bin/ld.bfd.real: unknown architecture of input file `./Release/xxxx.o' is incompatible with arm output". The parameters I used to run arm-linux-gnueabihf-objcopy are "-I binary -O elf32-littlearm". And when I execute `file xxxx.o` I get "ELF 32-bit LSB relocatable, no machine, version 1, not stripped" Any comments would be appreciated!!

0