%% Jerome Fournier <[EMAIL PROTECTED]> writes:
jf> You will find hereafter a bug report for GNU make 3.79.1. The bug only
jf> occurs on solaris 2.6 (compared to Linux RH 6.1 or AIX). You will find
jf> in attachment the config.h file.
This problem will occur on any system which supports sub-second
timestamps. It happens because the filesystem reports that the .o file
has a timestamp of S seconds plus NS nanoseconds, but the archive format
for libraries stores only second timestamps for the archive members, so
the libTest.a(testProg.o) archive timestamp is just S seconds, which is
less than S + NS, so the archive member always appears older than the .o
file and is always rebuilt.
I'll think about how to fix this; in the meantime you can reconfigure
make with the --disable-nsec-timestamps option to configure and rebuild,
and that should avoid this problem.
--
-------------------------------------------------------------------------------
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.gnu.org http://www.paulandlesley.org/gmake/
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist