Nasm

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
James

Nasm

Post by James »

I cannot compile my work with NASM. Im either not doing it properly or it doesnt work.

My version is 0.98, I have all the C files etc, but not sure what to do with them!
Guest

Re:Nasm

Post by Guest »

Should you have attached or posted ur work so we can help !
James

Re:Nasm

Post by James »

So you could compile it for me?

Please, get it working.. Im being driven insane that I cant do it. I think its because, my friend had messed around with some of the files, changing comments etc, so that it was easier to read!
Kemp

Re:Nasm

Post by Kemp »

Ok, your first step would be to tell us what you're doing and what the errors are, then we can start figuring it out. "It doesn't work" type posts aren't too useful for troubleshooting.
James

Re:Nasm

Post by James »

OK. It wont compile for me!
bluecode

Re:Nasm

Post by bluecode »

What Kemp is trying to tell you, is that we need the exact error message ::)
James

Re:Nasm

Post by James »

nasm is not a recognised command
Kemp

Re:Nasm

Post by Kemp »

Well that has nothing to do with nasm or your code. It means that nasm itself cannot be found (it isn't in your current directory, nor in one that is on your PATH).
GLneo

Re:Nasm

Post by GLneo »

well if it helps here is a tutorial on PATH: "http://www.troubleshooters.com/linux/prepostpath.htm"
it is for linux but about the concept of PATH is the same for DOS.
James

Re:Nasm

Post by James »

never mind then! I will use another compiler! You wouldnt be able to help me with my other topic, which is about down on the page?
Kemp

Re:Nasm

Post by Kemp »

Unless you understand what we told you, switching to another compiler will likely achieve nothing for you. Understand that this is a limitation of your environment, not the tool.
James

Re:Nasm

Post by James »

Well, I think I got it working.. Its compiled a script of mine!
DynatOS

Re:Nasm

Post by DynatOS »

James wrote: Well, I think I got it working.. Its compiled a script of mine!
Your first problem is, NASM is an Assembler, not a compiler.

Second, NASM assembles Assembly Language source files, not "scripts".

Third good Assembly Language programming requires deep knowledge of the architecture and good programming skills.

Most programmers would know how to navigate through a simple issues like directory navigation or environment variable paths.

Reorganize your priorities, if you are serious about programming ;)
James

Re:Nasm

Post by James »

Its all done now... Thanks to Combuster.. And I get confused by scripts and source files etc, I was in a rush!
Post Reply