| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT sources DOT redhat DOT com |
| Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
| Message-Id: | <4.3.1.2.20010917121048.0302ce20@pop.ma.ultranet.com> |
| X-Sender: | lhall AT pop DOT ma DOT ultranet DOT com |
| X-Mailer: | QUALCOMM Windows Eudora Version 4.3.1 |
| Date: | Mon, 17 Sep 2001 12:15:31 -0400 |
| To: | Anqing Xu <anqing AT coventor DOT com>, cygwin AT cygwin DOT com |
| From: | "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com> |
| Subject: | Re: gmake hangs |
| In-Reply-To: | <3BA61B80.18679E91@coventor.com> |
| Mime-Version: | 1.0 |
At 11:49 AM 9/17/2001, Anqing Xu wrote:
>Hi,
>
>I use the latest cygwin and make hangs everytime in recursive building.
>Since the system is big I can't post the whole Makefile, but it's like this
>
>SRC_DIRS = dir1 dir2 dir3 ...
>
>dir? all have java source files
>
>JAVA_SRC = Foo1.java Foo2.java ....
>
>CLASSES = ${JAVA_SRC:.java=.class}
>
>.SUFFIXES:
>%.class: %.java
> @echo $^ >> $(FILES_TO_RECOMPILE)
>
>all: $(SRC_DIRS) compileAll
>
>$(SRC_DIRS):
> @if [ -d $@ ]; then \
> cd $@ && $(MAKE); \
> else \
> echo "Skipping $@"; \
> fi
>
>compileAll: $(CLASSES)
> @if [ -f $(FILES_TO_RECOMPILE) ]; then \
> cat $(FILES_TO_RECOMPILE); \
> $(JAVAC) $(JFLAGS) -classpath $(CLASSPATH) -sourcepath $(SOURCEPATH) -d $(CLASS_DIR) @$(FILES_TO_RECOMPILE); \
> ...
> fi
>
>Make will hang if certain dir has too many java files. Task manager shows that sh.exe is using 99% CPU.
>However, if I manually cd individual dir and make there, it'll pass without any problem. Seems that make
>has problem with recursive compiling. Also note that this does not happen for dirs that have small number
>of java files. Really strange.
>
>I notice that there have been several threads that talked about similar problem. Has anybody found a
>solution yet?
The Cygwin archives have all the gory details on this. Follow the threads
if you're interested. I assume you're running 1.3.3?
>This is a major headache for us right now.
Then I expect that you won't be adverse to helping out and trying to
debug your situation. If not, I suggest aspirin for everyone's headache.
>-Anqing
>
>
>
>
>
>--
>Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
>Bug reporting: http://cygwin.com/bugs.html
>Documentation: http://cygwin.com/docs.html
>FAQ: http://cygwin.com/faq/
Larry Hall lhall AT rfk DOT com
RFK Partners, Inc. http://www.rfk.com
118 Washington Street (508) 893-9779 - RFK Office
Holliston, MA 01746 (508) 893-9889 - FAX
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |