LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Convert NASM 32bit package to 64bit (http://www.linuxquestions.org/questions/slackware-14/convert-nasm-32bit-package-to-64bit-4175418871/)

Dornith 07-26-2012 09:49 PM

Convert NASM 32bit package to 64bit
 
I wanted to start learning an assembly language, and I found one called NASM that looked perfect due to it being able to work the major OS's. http://www.nasm.us/ I had some problems before with installing software so I decided this time I would try and get a pre-made package if possible. Slackbuilds.org had nothing and pkgs.org only had the 32bit. Is there any way I could use the 32bit package to make a 64bit, given the source? The web site also has an .rpm version for 64bit. I think I saw something about converting those. Is it possible?

ReaperX7 07-26-2012 09:53 PM

You should look into YASM. YASM is an expanded assembly compiler that supports 32-bit and 64-bit architectures. Slackware has YASM included.

http://yasm.tortall.net/

YASM is by all accounts NASM but under a different license and with expanded instruction set supports.

Alien Bob 07-27-2012 03:04 AM

Why would you want to convert a 32-bit nasm package to 64-bit? How do you think that would be possible at all? You have to compile 64-bit binaries, you can not convert them from 32-bit binaries.
If you are using Slackware, why are you searching on pkgs.org? The nasm package has been part of Slackware for ages. The 64-bit version of Slackware has a 64-bit nasm package included.

Eric

the3dfxdude 07-28-2012 04:34 PM

nasm 64-bit package in 13.37:

http://slackware.oregonstate.edu/sla...4-x86_64-1.txz


http://slackware.oregonstate.edu/slackware64-${YOUR_VERSION}/slackware64/d/nasm-*-1.tx*


All times are GMT -5. The time now is 04:00 AM.