NASM tutorial

From: Gerhard W. Gruber (sparhawk_at_gmx.at)
Date: 01/23/04


Date: Fri, 23 Jan 2004 20:17:02 +0100

I was looking today for some good tutorial for NASM. What I want is a simple
Hello World for Linux and Windows along with the appropriate makefile. I found
some tutorials for Windows (none for Linux) but the problem with this is that
it doesn't link and apparently I'm missing the win32 include stuff. I have
found a windows.inc but this contains no function prototypes only the
structures and definitions.

Up till now I have built mostly on existing code, so I hadn't had this problem
and today I wanted to make a clean small example to see how this works and it
failed. :)

I also read the manual, but from this I couldn't determine how such a file
actually looks.

-- 
Gerhard Gruber
Maintainer of
SoftICE for Linux - http://pice.sourceforge.net/
Fast application launcher - http://sourceforge.net/projects/launchmenu


Relevant Pages

  • Re: problems with Makefile
    ... Dr. Locke Z2A wrote: ... Linux but there is one problem: I can't get the makefile to work right. ... I tried to take the Windows makefile and make the Linux one based on ...
    (comp.programming)
  • Re: autofs not working - mkfifo failed
    ... I've followed a couple of different tutorials specifically ... I am not sure from where you need to mount it....(mean is it from ... windows to linux machine or from linux to linux). ... Anyway i will talk about the mounting of windows share on linux using ...
    (comp.os.linux.setup)
  • Re: D3D->OGL porting guide?
    ... a "device window" (for windows and linux), ... Go through all tutorials on http://nehe.gamedev.net ... Sun JAVA and JOGL work great on Linux (and ...
    (comp.graphics.api.opengl)
  • Re: Windows VS 6.0 Projet nach Linux konvertieren.
    ... Habe win Visual Studio 6.0 Projekt unter windows gemeint. ... Nach Linux: ein Tool, das mir ein makefile oder eine configure erzeugt. ... Werd mir aber KDevelop auch noch ansehen. ...
    (de.comp.os.unix.programming)
  • Re: Makefile rules for output/object dir
    ... How can I ensure inside the makefile the creation of the OBJ_DIR which ... works on Windows and linux? ...
    (comp.programming)