LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 07-26-2012, 08:49 PM   #1
Dornith
Member
 
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. 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?
 
Old 07-26-2012, 08:53 PM   #2
ReaperX7
Senior Member
 
Registered: Jul 2011
Distribution: LFS-SVN, FreeBSD 10.0
Posts: 3,396
Blog Entries: 15

Rep: Reputation: 948Reputation: 948Reputation: 948Reputation: 948Reputation: 948Reputation: 948Reputation: 948Reputation: 948
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.
 
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: 5,300

Rep: Reputation: Disabled
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
 
Old 07-28-2012, 03:34 PM   #4
the3dfxdude
Member
 
Registered: May 2007
Posts: 323

Rep: Reputation: 89
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*

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


Reply


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


All times are GMT -5. The time now is 06:25 PM.

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