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: | <3B867DD5.9050106@ece.gatech.edu> |
Date: | Fri, 24 Aug 2001 12:16:21 -0400 |
From: | "Charles S. Wilson" <cwilson AT ece DOT gatech DOT edu> |
User-Agent: | Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.2) Gecko/20010726 Netscape6/6.1 |
X-Accept-Language: | en-us |
MIME-Version: | 1.0 |
To: | Jan Jacobs <jmj AT cellpoint DOT co DOT za> |
CC: | cygwin AT cygwin DOT com |
Subject: | Re: Problem with command line make. |
References: | <GLEEJHOFAMEPEONMFPCIMEJDCAAA DOT jmj AT cellpoint DOT co DOT za> |
Just a hunch, but I think you need to check the documentation for make ('info make'). Look for 'variables' or 'assignment'. There's a difference between a = foo and a := foo which has to do with immediate vs. delayed assignment, and I think THAT's what is biting you. --Chuck Jan Jacobs wrote: > 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/ > > -- 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 |