makefile has modification time in the future
我在windows上写程序,然后传到虚拟机linux上,在虚拟机上执行make时,被windows改的程序会提示上面的字符,不只如何解决,我每次只能逐个文件vi + wq
而且我发现虚拟机暂停后时间就不走了,这样永远也无法做到时间同步呀
[解决办法]
Usage: touch [OPTION]... FILE...
Update the access and modification times of each FILE to the current time.
Mandatory arguments to long options are mandatory for short options too.
-a change only the access time
-c, --no-create do not create any files
-d, --date=STRING parse STRING and use it instead of current time
-f (ignored)
-m change only the modification time
-r, --reference=FILE use this file 's times instead of current time
-t STAMP use [[CC]YY]MMDDhhmm[.ss] instead of current time
--time=WORD change the specified time:
WORD is access, atime, or use: equivalent to -a
WORD is modify or mtime: equivalent to -m
--help display this help and exit
--version output version information and exit
Note that the -d and -t options accept different time-date formats.
If a FILE is -, touch standard output.
[解决办法]
呵呵,在windows上开个Time Service然后让Linux和他同步,呵呵。
不行就只好每次改一下系统时间了:)