NASM - The Netwide Assembler
NASM Forum => Example Code => Topic started by: Fixer on December 05, 2012, 08:20:39 PM
-
I am looking to get programming using nasm for making some programs for linux, but have a heck of a time
with Linux Mint. I could not get nasm installed so far.
I am looking to see if they have some sort of equivalent of Windows Event Viewer.
Andy
-
Just pick one from http://www.nasm.us/pub/nasm/releasebuilds/2.10.06/linux/
-
Did Gunner's suggestions not work for ya?
The way I do it is to download the source - in the parent directory from where Cyril sent ya (those are all .rpm's which I've never had any luck with - feel free to use 'em if they work). I like the .tar.bz2 version, but .tar.gz and .zip all have the same contents (.tar.xz too? I think that's a new one). Put it in the directory you want to untar under.
"tar jxf nasm-2.10.6.tar.bz2"
"cd nasm-2.10.6"
become root, if you're not, or prepend with "sudo":
"./configure"
"make install_everything"
unbecome root.
Now you should be ready to assemble. If that doesn't work, let us know where it fails. "sudo apt-get install nasm" should be easier, if it's supported on your system. I'm not familiar with Linux Mint...
Best,
Frank
-
I am looking to get programming using nasm for making some programs for linux, but have a heck of a time
with Linux Mint. I could not get nasm installed so far.
Easiest way, for me at least, to install NASM is from source. Try this from the Linux Mint terminal.
$ mkdir /tmp/nasm
$ cd /tmp/nasm
$ wget http://www.nasm.us/pub/nasm/releasebuilds/2.10.06/nasm-2.10.06.tar.gz
$ tar xzf nasm-2.10.06.tar.gz
$ cd nasm-2.10.06
$ ./configure && make
$ sudo make install_everything
EDIT Guess Frank covered it....
I am looking to see if they have some sort of equivalent of Windows Event Viewer.
I don't know of any graphical tools or anything. On Linux, events are usually logged through one of the many syslog implementations (ksyslog, syslog-ng, rsyslog, etc). These will usually write to /var/log/messages.
HtH
-
Now you should be ready to assemble. If that doesn't work, let us know where it fails. "sudo apt-get install nasm" should be easier, if it's supported on your system. I'm not familiar with Linux Mint...
It's a distro based on ubuntu, but there is also a newer version that's based on the debian codebase called LMDE (Linux Mint: Debian Edition). This further adds to the confusion when you can't ever really know by "Linux Mint" alone if they are using LMUE or LMDE... ???
-
From what I have been told, the live version of Linux Mint can't write to the pendrive.
I only have 4 Gb of space.
I think it has some bugs still.
While it was downloading a program, it poped up a box saying I had zero bytes available.
Seems like Mint's installer would check disk space first and issue a message if enuf space was not available.
Andy