Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 07-26-2012, 08:49 PM   #1
Registered: Jul 2012
Location: U.S.A
Distribution: Archlinux Multilib, Debian 7.0.0 32b
Posts: 153

Rep: Reputation: Disabled
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. I had some problems before with installing software so I decided this time I would try and get a pre-made package if possible. had nothing and 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?
Old 07-26-2012, 08:53 PM   #2
LQ Guru
Registered: Jul 2011
Location: California
Distribution: Slackware64-Current
Posts: 6,397
Blog Entries: 15

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

YASM is by all accounts NASM but under a different license and with expanded instruction set supports.
1 members found this post helpful.
Old 07-27-2012, 02:04 AM   #3
Alien Bob
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 6,620

Rep: Reputation: 3913Reputation: 3913Reputation: 3913Reputation: 3913Reputation: 3913Reputation: 3913Reputation: 3913Reputation: 3913Reputation: 3913Reputation: 3913Reputation: 3913
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 The nasm package has been part of Slackware for ages. The 64-bit version of Slackware has a 64-bit nasm package included.

Old 07-28-2012, 03:34 PM   #4
Registered: May 2007
Posts: 517

Rep: Reputation: 191Reputation: 191
nasm 64-bit package in 13.37:${YOUR_VERSION}/slackware64/d/nasm-*-1.tx*

Last edited by the3dfxdude; 07-28-2012 at 03:35 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Porting 32bit application to 64bit on 64bit RedHat 5.4 pvpnguyen Programming 4 07-23-2010 06:52 AM
trouble installing 32bit package on 64bit install mikeoradba Linux - Software 1 05-15-2010 07:51 PM
Will apt-get installs 32bit debain package on 64bit debian/ubuntu machine ?? narendra1310 Linux - Software 1 03-09-2010 07:43 AM
can I have a 64bit snd a 32bit package installed linuxmandrake Linux - Software 2 10-20-2005 09:48 AM
can 64bit processor run both 64bit and 32bit computers? DJOtaku Linux - General 4 09-08-2005 08:14 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:31 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration