'Trying to run assembly program in termux but it's shows same error again n again

hello.s

nasm -f elf64 -o hello.o hello.s

hello.o hello.s

ld hello.o -o hello

ld: hello.o: Relocations in generic ELF (EM: 62) ld: hello.o: error adding symbols: file in wrong format



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source