Not sure where to put this due to the nature of the content. It is relative to programming, android, and Linux. Anywho, I also posted on xda-developers as well.
I recently installed botbrew on my rooted android device. I built nasm from source and I configured with --host=arm and it built. Then manually installed it in /system/xbin.
I compiled with nasm -felf progname.asm then try and link with ld hello.o -o hello but receive an error.
Code:
# ld hello.o -o hello
ld: /mnt/sdcard/hello.o: Relocations in generic ELF (EM: 3)
/mnt/sdcard/hello.o: could not read symbols: File in wrong format
What gives? Did I configure nasm wrong?