Paul,
Thanks for the quick response. We tried version 3.79.1
with the same results as shown below. No makefile, an
object named j.o, and make "foo.a(j.o)" always says j.o
is newer than foo.a(j.o).
If you have any other suggestions, please let us know.
Thanks,
Bruce Hill
Staff Software Engineer
ATD - Azad Technology Development
(408)919-1613
[EMAIL PROTECTED]
809:test/% !!
make --debug=b "foo.a(j.o)"
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for sparc-sun-solaris2.7
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Report bugs to <[EMAIL PROTECTED]>.
Reading makefiles...
Updating goal targets....
Prerequisite `j.o' is newer than target `foo.a(j.o)'.
Must remake target `foo.a(j.o)'.
/users1/bhill/tmp/binutils-2.9.1/binutils/ar rv foo.a j.o
r - j.o
Successfully remade target file `foo.a(j.o)'.
810:test/% !!
make --debug=b "foo.a(j.o)"
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for sparc-sun-solaris2.7
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Report bugs to <[EMAIL PROTECTED]>.
Reading makefiles...
Updating goal targets....
Prerequisite `j.o' is newer than target `foo.a(j.o)'.
Must remake target `foo.a(j.o)'.
/users1/bhill/tmp/binutils-2.9.1/binutils/ar rv foo.a j.o
r - j.o
Successfully remade target file `foo.a(j.o)'.
811:test/%
> -----Original Message-----
> From: Paul D. Smith [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 26, 2000 6:02 PM
> To: ATD Hill, Bruce
> Cc: '[EMAIL PROTECTED]'; ATD John Hubbard
> Subject: Re: archive members always out of date
>
>
> %% "ATD Hill, Bruce" <[EMAIL PROTECTED]> writes:
>
> ahb> 1. ( ) text/plain (*) text/html
>
> Plain text, not HTML or Rich Text, is the preferred format for mailing
> lists. Thanks.
>
> ahb> When I try to use the archive member syntax gnu make always
> ahb> decides the prerequisite object is newer than the
> archive member
> ahb> and re-archives it.
>
> ahb> I would expect make to determine that the archived object is
> ahb> uptodate and not rearchive it.
>
> ahb> GNU make v3.7.9
>
> I expect you mean 3.79; there is no 3.7.9.
>
> Please try the latest version (currently 3.79.1); I believe
> this problem
> is fixed there.
>
> --
> --------------------------------------------------------------
> -----------------
> 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
>
