help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

parallel make issue with archive members


From: John Doe
Subject: parallel make issue with archive members
Date: Thu, 8 Mar 2007 01:03:36 -0600

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?

Thanks for your help.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]