mingw32-make keeps rebuilding
I used mingw32-make to compile my Qt stuff and found that everytime i compile
"mingw32-make myproject.pro" the mingw32 seems to recompile some of the files "not all the files.
I was expecting that if i compile my project two times in a row , the second compile will just give me a message saying something like "nothing needs to be done" right? but in my case it will compile some (not all) project files
please enlightened me of whats going on
baray98
Re: mingw32-make keeps rebuilding
When make thinks that a dependency of an file changed, it gets recompiled.
Re: mingw32-make keeps rebuilding
What happens if you invoke only "mingw32-make"?
Re: mingw32-make keeps rebuilding
i tried just using mingw32-make it will always compile the same files (not all) even i made sure that i did not change them.... very wierd....
baray98
Re: mingw32-make keeps rebuilding
Quote:
Originally Posted by
baray98
i tried just using mingw32-make it will always compile the same files (not all) even i made sure that i did not change them....
Do you have any backup software or antivirus running on your system?
What extensions do those recompiled files have?
Re: mingw32-make keeps rebuilding
Do any files have a change date set in the future?
Re: mingw32-make keeps rebuilding
yes I have a antivirus running in my pc ,but my other projects runs normal (no recompiling of i wont make some changes)...
spud:
i don't understand what is "date set in the future" means
Re: mingw32-make keeps rebuilding
- open your project folder in explorer
- activate the "detailled list" view
- sort by the column "last changed", or similar
- make sure that no date is more current than today
Also I assume of course that the date of your computer is set correctly.
Re: mingw32-make keeps rebuilding
crykes!!!!!! i got some files thats has a time stamp of the future ... is the clock turning backwards?
how can i set these dates to normal? i know this is my problem.. thanks to you SPUD!!!!
baray98
Re: mingw32-make keeps rebuilding
Just open the file in an editor, make some unimportant change and save it. Then the file should have the current time stamp(granted that your computers clock is correct).
As for why this happens, there can be a lot of reasons, depending on if the file was extracted from an archive, downloaded from a repository(cvs,svn...) or copied from somewhere...
Re: mingw32-make keeps rebuilding
Quote:
Originally Posted by
baray98
i got some files thats has a time stamp of the future
Usually make warns about such situation by outputting "clock skew detected" message.
Re: mingw32-make keeps rebuilding
i know the source of this probs its the new release of codeblocks i remember i created this file using thier class wizard... but then again thank you guys!! ang thats a lot...
baray98