make

support for the ARM toolchain
Post Reply
grishnax
Posts: 3
Joined: Wed Feb 10, 2010 8:26 pm

make

Post by grishnax » Wed Feb 10, 2010 8:36 pm

I can't figure out how to make the "make" and "make clean" command work. I'm currently using Programmer's Notepad 2, and I used this tutorial to try and make the "make" and "make clean" commands work. I'm not a computer genius, so I would prefer if you could make this easy to understand. However, if you can explain it to me at all, I will be extremely grateful. Thanks in advance.

Edit: Ah yes, I forgot to mention this. I have browsed through some other threads, but I haven't found an answer that either applied to my situation or was at my level of comprehension.

User avatar
vuurrobin
Posts: 219
Joined: Fri Jul 11, 2008 8:49 pm
Location: The Netherlands
Contact:

Re: make

Post by vuurrobin » Wed Feb 10, 2010 9:52 pm

can you try to use make from the command line? this way, we can see if the problem lies with the Programmer's Notepad 2 configuration or with make.

also, the examples have a preconfigured Programmer's Notepad 2 project which you can use.

grishnax
Posts: 3
Joined: Wed Feb 10, 2010 8:26 pm

Re: make

Post by grishnax » Wed Feb 10, 2010 10:31 pm

I tried doing 'make' from a different location (C:\devkitPro\examples\nds\hello_world) with cmd.exe (is that the program you meant when you said command line, or did you mean something else?) and I got the default program. However, it won't run my program. (which is just the basic hello world code) After I ran 'make' again, this time in Programmer's Notepad 2, it said "make[1]: `/c/devkitPro/examples/nds/hello_world/hello_world.nds' is up to date." But when I ran 'make clean', it said "Failed to create process: The system cannot find the file specified." I'm seriously at a loss of what to do right now.

User avatar
vuurrobin
Posts: 219
Joined: Fri Jul 11, 2008 8:49 pm
Location: The Netherlands
Contact:

Re: make

Post by vuurrobin » Fri Feb 12, 2010 12:34 pm

how did you try to run the program?

grishnax
Posts: 3
Joined: Wed Feb 10, 2010 8:26 pm

Re: make

Post by grishnax » Fri Feb 12, 2010 10:45 pm

First, I wrote in cmd.exe 'CD C:\devkitPro\examples\nds\hello_world'. After that, I typed into cmd.exe 'make'. This got me the result that I listed above. Just to make sure that I got the same result as before, I tested 'make clean' as well. However, what I got was different. It said 'clean ...' and that's it. I tried running both 'make' and 'make clean' in Programmer's Notepad 2, but I just got the same results as before.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests