On Thu, 2007-03-08 at 01:03 -0600, John Doe wrote:
> I am using make 3.81 and I am using the following make rule to put
> object files into an archive:
> 
> $(ARCHIVE) : $(CXX_OBJS)
>     echo $?; \
>     cd $(DEST); \
>     $(AR) $(ARFLAGS) $(ARCHIVE) $?
> 
> where archive is a ".a" file and CXX_OBJS are my ".o" files. 
> 
> If I am doing make, the echo and the the ar command will get the
> complete list of .o files which have changed and update the archive.
> 
> 
> If I do a parallel make (-j2) the list of files is empty.
> 
> What am I doing wrong to getting the list of changed files to update
> the archives in parallel mode? 

Offhand I can't think of any reason why this might be happening.  Can
you create a small test case to show the problem?

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[EMAIL PROTECTED]>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to