delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/13/00:04:56

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
Date: Fri, 13 Apr 2001 00:04:09 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Cc: Markus DOT Walther AT ascom DOT ch
Subject: Re: Problem with cygwin 1.1.8 under NT 4.0
Message-ID: <20010413000409.A1761@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com, Markus DOT Walther AT ascom DOT ch
References: <OFBFD864BE DOT 98F1C5FE-ONC1256A2B DOT 004AFAE6 AT hasler DOT ascom DOT ch>
Mime-Version: 1.0
User-Agent: Mutt/1.3.11i
In-Reply-To: <OFBFD864BE.98F1C5FE-ONC1256A2B.004AFAE6@hasler.ascom.ch>; from Markus.Walther@ascom.ch on Wed, Apr 11, 2001 at 04:25:39PM +0200

On Wed, Apr 11, 2001 at 04:25:39PM +0200, Markus Walther wrote:
>My problem occurs with Cygwin DLL 1.1.8-2 and make 3.79.1-3 under Windows
>NT 4.0. There are two problems. When I have the following statement in the
>makefile
>CC = C:/localWIN/ARM251/arm/bin/armcc
>
>the make process stops with the error message:
>[c:\daten\source\project\software\test\foo]make
>C:/localWIN/ARM251/bin/armcc -IC:\Daten\Source\project\software/source/include -c -
>processor ARM7TDMI -g+ -gt -dwarf2 -O1   -o ut_foo.o ut_foo.c
>4NT: Unknown command "C:"
>make: *** [ut_foo.o] Error 2

Apparently you have set "MAKE_MODE=win32" or are specifying make --win32.
C:/localWIN/ARM251/arm/bin/armcc is not a path that 4NT recognizes, so
it tries to run as much as it does recognize which is c:.  If you change
the / to \, 4NT may have more luck.

>There is no problem when I define the CC variable in the following way:
>CC= armcc

Not surprising.  4NT finds the command in the PATH in this case.

>The more serious problem occurs whenever I try to access a file from within
>a makefile which is not specified with an absolut path. Instead of looking
>in the current directory the command.com (or is it make?) is looking in a
>completly different directory. It is looking in the directory in which the
>command.com was started.

I can't duplicate this.  Do you have a small makefile and associated
programs that duplicates this behavior?  If you provide the makefile,
one or two test files and the exact layout of your directories, I'll
look into this.

Also, please send the output of 'cygcheck -r -s -v'.  Send this all
to the cygwin mailng list, not to me personally.

cgf

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019