From owner-freebsd-hackers Sun Oct 31 15:44:40 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from mission.mvnc.edu (mission.mvnc.edu [149.143.2.3]) by hub.freebsd.org (Postfix) with ESMTP id 35BDA14F5E; Sun, 31 Oct 1999 15:44:13 -0800 (PST) (envelope-from iflemmin@mission.mvnc.edu) Received: from localhost (iflemmin@localhost) by mission.mvnc.edu (8.9.0/8.9.0) with SMTP id SAA16390; Sun, 31 Oct 1999 18:41:51 -0500 (EST) Date: Sun, 31 Oct 1999 18:41:51 -0500 (EST) From: Isaac Flemming To: freebsd-questions@freebsd.org, freebsd-hackers@freebsd.org Subject: NASM programs for freebsd Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello all, I am currently enrolled in college course that requires us to use the Netwide Assembler (NASM). This creates a small problem for me, because I do not have a DOS box in my room, and do not know how to get NASM to work the way I expect it to under FreeBSD. I noticed that NASM is located in the ports collection so I compiled it and have used it to assemble the .asm assembly code I used for DOS in class. The assembler does not give me any errors, but I cannot seem to get the programs to execute. In my most recent attempt I compiled the .asm into aoutb format and tried to link it into a .c program which calls it. The gcc c compiler gave me errors at this point, and I am now at a compleat loss. I have looked around FreeBSD-questions, and hackers archives for several hours but cannot seem to find anything that helps me. Is there any one out there that knows how to get NASM to make a file I can execute, or link into a c program!? Even a simple "hello world" example may help. Thanks a bunch in advance Isaac D. Flemming ------------------------------------------------------------------------------- Isaac D. Flemming Senior Computer Science Major Mount Vernon Nazarene College Email: iflemmin@mvnc.edu Phone: (740) 397-6862 x7604 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message