simple hello.asm (NASM) not compile in x64, plz help
"eric lin" <[email protected]> Fri, 28 Nov 2014 20:35:37 -0800
| Newsgroups | gmane.linux.assembly |
|---|---|
| Message-ID | <[email protected]> |
hello: I copied a simple hello.asm (NASM) assembly program from www.tldp.org/HOWTO/html_single/Assembly-HOWTO/ try to compile and run on my linux 64(ubuntu14.04), but I got errors: ------------------------------------- ld -s -o heworl heworl.o ld:i386 architecture of input file *.o is incompatible with i386:x86-64 output ------------------------------------------------- please help,(how to make it compile and run on my 64 platform rather than ask me switch to 32 bit platform),thanks a lot ina dvance, eric _____________________________________________________________ Luxmail.com -- To unsubscribe from this list: send the line "unsubscribe linux-assembly" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html