From: Wirawan P. <wir...@ne...> - 2002-01-03 00:18:11
|
Hi, I am using mingw gcc package (1.0, if not 1.1) under Windows 2000, and found the following error. I wonder if you can reproduce the same error: 1. create a test make file, e.g. test.mak: (<tab> = actual tab char). This is a 3-line script: all: <tab> @echo 'ac_maketemp="${MAKE}"' <tab> @echo '${MAKE}' 2. I used make version 3.79.1 (detailed below) GNU Make version 3.79.1, by Richard Stallman and Roland McGrath. Built for mingw32 Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000 Free Software Foundation, Inc. 3. Using the program mentioned in (2), I typed make -f test.mak in the command prompt. The result is the following (total 2 lines): ac_maketemp=\c:/usr/gcc/bin/make.exe" c:/usr/gcc/bin/make.exe HERE is the bug: the first line should read ac_maketemp="c:/usr/gcc/bin/make.exe" instead! The first quoting mark was accidentally replaced by a backslash. Why is this? Using other version of make (e.g. freepascal's make or cygwin's), this did not happen. What's wrong with this? Could you check if there is something wrong with the source program, somehow? Thanks, Wirawan |