(Note: I originally sent this message on Nov. 29, but the server bounced it because my email client included some HTML. I'm trying again here. I apologize if this is a duplicate for you.) If you’re interested in using the gnu programming environment, I have written an introductory textbook on the topic. You can get more information at http://bob.cs.sonoma.edu/. I sell it at lulu.com, but you can download a preview copy (first seven chapters) for free from my website. It’s specifically about the 64-bit platform. --Bob Plantz -----Original Message----- From: linux-assembly-owner@xxxxxxxxxxxxxxx [mailto:linux-assembly-owner@xxxxxxxxxxxxxxx] On Behalf Of eric lin Sent: Friday, November 28, 2014 8:36 PM To: linux-assembly@xxxxxxxxxxxxxxx Subject: simple hello.asm (NASM) not compile in x64, plz help 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 ��.n��������+%������w��{.n�����{�������ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f
- References:
- simple hello.asm (NASM) not compile in x64, plz help
- From: eric lin
- simple hello.asm (NASM) not compile in x64, plz help
- Prev by Date: need help on assembly book's example(intel on win/dos 32/16bit)
- Next by Date: [PATCH v2] hwmon: (dell-smm) Improve assembly code
- Previous by thread: Re: simple hello.asm (NASM) not compile in x64, plz help
- Next by thread: simple hello.asm (NASM) not compile in x64, plz help
- Index(es):