/usr/bin/ld: i386 architecture of input file `asml.o' is incompatible with i386:x86-64 output collec

B

blackneos940

Guest
I get this when I try to compile an .asm file with NASM and GDB..... :( Basically, I started Assembly Language today, and even though my processor is an Intel x64..... :< I DID add the i386 Architecture for WINE, though..... :) Thanks for the help, guys..... :3
 


try adding the -m64 flag.

Or do everything in 64bit since this is assembly.
 
I get this when I try to compile an .asm file with NASM and GDB..... :( Basically, I started Assembly Language today, and even though my processor is an Intel x64..... :< I DID add the i386 Architecture for WINE, though..... :) Thanks for the help, guys..... :3

I have not dealt much with assembly (yet), but I think it may help to read the man pages. Perhaps, there is a parameter you are missing or a parameter that is not needed. Since assembly is very low level (it is lower than C/C++), be sure that the commands are performing valid actions in the proper order using the correct amount of allocated memory.
 

Members online


Top