Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: "Jan Jacobs" To: Subject: Problem with command line make. Date: Fri, 24 Aug 2001 13:47:43 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Importance: Normal Hi All I am currently experiencing a problem in using make.exe in the Win2000 command line. Current version of the make.exe I am using: GNU Make version 3.76.1 Scenario Description. Executing the make file form the Windows 2000 CMD.exe the following result occurs: >C:\Projects\dev\src\com\cellpoint\platform>make >make -w -k -f c:/projects/dev/src/com/cellpoint/platform/Makefile all >make[1]: Entering directory `C:/Projects/dev/src/com/cellpoint/platform' >c:/jdk1.3/bin/javac -classpath c:/jdk1.3/jre/lib/rt.jar;c:/projects/dev/classes; >vc:/projects/dev/jars/OtpErlang.jar -d c:/projects/dev/classes -sourcepath c:/pro >jects/dev/src -deprecation c:/projects/dev/src/com/cellpoint/platform/Connection >Object.java >c:/projects/dev/classes: not found >c:/projects/dev/jars/OtpErlang.jar: not found Executing the problem command manually from the command line I achieve success. >C:\Projects\dev\src\com\cellpoint\platform>c:/jdk1.3/bin/javac -classpath c:/jdk >1.3/jre/lib/rt.jar;c:/projects/dev/classes;c:/projects/dev/jars/OtpErlang.j ar -d > c:/projects/dev/classes -sourcepath c:/projects/dev/src -deprecation c:/project >s/dev/src/com/cellpoint/platform/ConnectionObject.java The problem occurred in the building of the variable CLASSPATH in the Makefile Variable assinments: SEP = ; JRE = c:/jdk1.3/jre/lib/rt.jar CLASS_DIR = c:/projects/dev/classes OTHER_JARLIST = c:/projects/dev/jars/OtpErlang.jar If I use this statement the above problem occur. CLASSPATH = $(JRE)$(SEP)$(CLASS_DIR)$(SEP)$(OTHER_JARLIST) If I use the next statement the problem disappears. CLASSPATH = $(OTHER_JARLIST) It seems that I can not build a new variable from multiple variables. Am I missing something or using it incorrectly. Thanks in advance. Jan Jacobs Application Development CellPoint Systems SA Tel: +27 (0)11 254 5100 Direct: +27 (0)11 254 5128 Mobile: +27 (0)83 279 1239 -- 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/