asmutils-0.18 on i86_64
Denis <[email protected]>
| Newsgroups | gmane.linux.assembly |
|---|---|
| Message-ID | <[email protected]> |
> 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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html