Results 1 to 6 of 6

Thread: Help on installing NASM

  1. #1
    Join Date
    Aug 2007
    Beans
    88

    Help on installing NASM

    I can't figure out how to install the latest version of NASM. Other threads gave solutions but they did not work for me as NASM could not be found on my computer and I cannot figure out how to get it installed from the source downloaded from their website.

  2. #2
    Join Date
    Jan 2007
    Location
    Melbourne, Australia
    Beans
    5,096

    Re: Help on installing NASM

    NASM is in the ubuntu repos, you can install by
    Code:
    sudo apt-get install nasm
    which will be easier then compiling, unless you are needing to compile it.
    Ubuntu Newbie Help: irc: #beginners-help on network irc.freenode.net
    Help others, mark your threads solved.

  3. #3
    Join Date
    Aug 2007
    Beans
    88

    Re: Help on installing NASM

    I converted it with Alien and it made a .deb file. I just installed the .deb file. But now where is NASM on my computer?

  4. #4
    Join Date
    Jan 2007
    Location
    Melbourne, Australia
    Beans
    5,096

    Re: Help on installing NASM

    In a terminal try
    Code:
    nasm -h
    and have a look at the man pages as well for more info.
    Code:
    man nasm
    Ubuntu Newbie Help: irc: #beginners-help on network irc.freenode.net
    Help others, mark your threads solved.

  5. #5
    Join Date
    Aug 2007
    Beans
    88

    Re: Help on installing NASM

    Quote Originally Posted by Partyboi2 View Post
    In a terminal try
    Code:
    nasm -h
    and have a look at the man pages as well for more info.
    Code:
    man nasm
    I found nasm under filesystem/usr/bin/nasm but I double click it and it does not work. I am a noob to Ubuntu so I do not know how to run these files.

    nasm -h gives me

    Quote Originally Posted by nasm -h
    gaurdian@ubuntu:~$ nasm -h
    usage: nasm [-@ response file] [-o outfile] [-f format] [-l listfile]
    [options...] [--] filename
    or nasm -v for version info

    -t assemble in SciTech TASM compatible mode
    -g generate debug information in selected format.
    -E (or -e) preprocess only (writes output to stdout by default)
    -a don't preprocess (assemble only)
    -M generate Makefile dependencies on stdout
    -MG d, missing files assumed generated

    -Z<file> redirect error messages to file
    -s redirect error messages to stdout

    -F format select a debugging format

    -I<path> adds a pathname to the include file path
    -O<digit> optimize branch offsets (-O0 disables, default)
    -P<file> pre-includes a file
    -D<macro>[=<value>] pre-defines a macro
    -U<macro> undefines a macro
    -X<format> specifies error reporting format (gnu or vc)
    -w+foo enables warning foo (equiv. -Wfoo)
    -w-foo disable warning foo (equiv. -Wno-foo)
    Warnings:
    error treat warnings as errors (default off)
    macro-params macro calls with wrong parameter count (default on)
    macro-selfref cyclic macro references (default off)
    macro-defaults macros with more default than optional parameters (default on)
    orphan-labels labels alone on lines without trailing `:' (default on)
    number-overflow numeric constant does not fit (default on)
    gnu-elf-extensions using 8- or 16-bit relocation in ELF32, a GNU extension (default off)
    float-overflow floating point overflow (default on)
    float-denorm floating point denormal (default off)
    float-underflow floating point underflow (default off)
    float-toolong too many digits in floating-point number (default on)
    user %warning directives (default on)

    response files should contain command line parameters, one per line.

    For a list of valid output formats, use -hf.
    For a list of debug formats, use -f <form> -y.
    Do I run NASM from the terminal? I am used to MASM which has a window pop-up for programming.

  6. #6
    Join Date
    Jan 2007
    Location
    Melbourne, Australia
    Beans
    5,096

    Re: Help on installing NASM

    I don't use nasm, but from what I have read you use a text editor to write the code then pass it on to nasm.
    This might help, maybe someone else might know more about it then I do.
    Ubuntu Newbie Help: irc: #beginners-help on network irc.freenode.net
    Help others, mark your threads solved.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •