Compiling

Posted by Polarus on Sun 15 Sep 2002 05:47 AM — 5 posts, 18,766 views.

Canada #0
Ok, when people have a text file with a snippet or whatever and you put it in the right place in a file. Then it tells you to clean, recompile, and reboot. I guess my question, do you just complie the one file you worked on, or are you supposed to somehow compile them all. I am really new to coding (Don't worry, i am just building for the fun of it)
Australia Forum Administrator #1
If you type "make clean" which is what they mean, it deletes all the object files, thus they all get recompiled.
Canada #2
Well, it appears that Cygwin was at fault, i downloaded it again (spent several hours and got every option possible) and it will make clean now. But it still will not make.
when I type make in the src directory i get this:
gcc: installation problem, cannot exec `/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5
/cpp0.exe': Permission denied

and a window pops up that says this:

The CPP0.EXE file is linked to missing export CYGWIN1.DLL:_ctype_

So, after i edit the code, and make clean, how do i get it to boot/ i can't use the exe file anymore becuase it won't load the changes, will it?
Canada #3
Yay! I just had to put the new cygwin1.dll in the windows folder, to replace the old one. Unfornutely when I attempt to 'make' the smaug code i get this error.
make[1]: *** [smaug] Error 1
make[1]: Leaving directory `/cygdrive/c/smaugback/smaug/dist/src'
make: *** [all] Error 2
Canada #4
Yay! I fixed this too. Thanks to everyone for their help. I just had to comment some stuff in the makefile