我在编译的时候出现错误
/usr/bin/ld: ./src/hello.o: Relocations in generic ELF (EM: 40)
./src/hello.o: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make: *** [hello] Error 1
查了一下,说是应该用arm-linux-ld 不应该用/usr/bin/ld ,在redhat下,怎么改变呢?