make-w32
[Top][All Lists]
Advanced

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

Problem using make in Win2k command line.


From: Jan Jacobs
Subject: Problem using make in Win2k command line.
Date: Fri, 24 Aug 2001 16:44:36 +0200

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 my
Makefile.
Variable assignments:
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


Thanks in advance
Jan Jacobs




reply via email to

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