This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Problem with command line make.
- To: Jan Jacobs <jmj at cellpoint dot co dot za>
- Subject: Re: Problem with command line make.
- From: "Charles S. Wilson" <cwilson at ece dot gatech dot edu>
- Date: Fri, 24 Aug 2001 12:16:21 -0400
- CC: cygwin at cygwin dot com
- References: <GLEEJHOFAMEPEONMFPCIMEJDCAAA.jmj@cellpoint.co.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/