simple hello.asm (NASM) not compile in x64, plz help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Newbies]     [Security]     [Linux C Programming]     [Linux for Hams]     [DCCP]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux