built nasm from source on android but issue with ld linking
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 |
What's the output of:
Code:
file hello.o |
Quote:
hello.o: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped SIDE NOTE: I'm running a live Ubuntu session ATM. The reason for the sysv. |
Yep .. it's not arm, I did a bit of searching - I don't think arm is supported at all by nasm.
|
Quote:
You can see that by running nasm -hf It will show only that x86 is supported. 32 and 64 bit. Windows and Linux. Its ashame because I love nasms syntax! Arm has their own assembly language. EDIT: Output for nasm -HF Code:
valid output formats for -f are (`*' denotes default): |
All times are GMT -5. The time now is 08:40 PM. |