From: Frank K. <fbk...@zy...> - 2010-10-05 22:06:23
|
Youngman, James wrote: > Does anyone see what is wrong with this. This is using version 2.04. > > > > COMPILING: ../../examples/cpuidExample/cpuid.asm > > nasm -I../../src/ -I../../examples/ -f elf64 -DCPU=IA64 -o > objs/examples/cpuidExample/cpuid.o ../../examples/cpuidExample/cpuid.asm > > LINKING: target/examples/cpuidExample > > /usr/lib/gcc/ia64-suse-linux/4.1.2/../../../../ia64-suse-linux/bin/ld: > warning: i386:x86-64 architecture of input file > `objs/examples/cpuidExample/cpuid.o' is incompatible with ia64-elf64 output Hi Jim, Thanks for the message I could approve! I don't know much about 64-bit code, but doesn't "IA64" refer to Itanium? Nasm won't do Itanium, only x86-64. I fear you won't be able to use it. :( On my antique 32-bit system, I can list targets accepted by ld with "objdump -i" (go figure!). Possible your ld will handle x86-64 if asked properly? Best, Frank |