asmutils-0.18 on i86_64

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

 



Hi Guys,

Just a quick note which may be useful for someone.

Seems like asmutils "*.inc" macroses use some instructions specific for 32-bit mode only. When someone wants to use asmutils under x86_64 system running 64-bit kernel (like Suse 11.1), one has to compile everything in 32 bit mode and use specific parameters for both NASM and LD for own programs.

In case you want to use asmutils on 64 bit Linux, you may add these lines to your ~/.bashrc (or other profile used). Please replace /home/user1 with your home directory.

--------------------------
# Asmutils with NASM
export NASMENV="-i/home/user1/asmutils-0.18/inc/ -O99v -f elf -D__LINUX__ -D__ELF__ "
export LDEMULATION=elf_i386
--------------------------

Happy new 2009 to everyone,
Have fun! :-0)



      
--
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