delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/03/25/12:47:41

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-Id: <4.3.1.2.20020325124048.02343a70@pop.ma.ultranet.com>
X-Sender: lhall AT pop DOT ma DOT ultranet DOT com
Date: Mon, 25 Mar 2002 12:44:02 -0500
To: Ronnie Shipman <Ronnie DOT Shipman AT UBINETICS DOT com>,
"'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
From: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
Subject: Re: Make 'include' directive with Cygnus bash - path problem
In-Reply-To: <5BF569B4AF29D511B9ED00508BB84938012888B3@UBIMBX01>
Mime-Version: 1.0

Send the following to the list:

   1. Output of 'mount'.
   2. Output of 'type make'
   3. Output of 'cygcheck make'
   4. Output of 'echo $MAKE_MODE'

Larry Hall                              lhall AT rfk DOT com
RFK Partners, Inc.                      http://www.rfk.com
838 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX



At 12:27 PM 3/25/2002, Ronnie Shipman wrote:
> > I have encountered a problem including makefiles.
> > Here are two very simple example makefiles:
> > 
> > *** First simple makefile: makefile
> > 
> > TEMP=$(shell pwd)
> > export
> > 
> > # Including this works
> > include c:/RIS/Software/3G_Platform_2_5_make/makefile.test
> > 
> > #  Including this fails
> > #include /cygdrive/c/RIS/Software/3G_Platform_2_5_make/makefile.test
> > 
> > 
> > *** Second simple makefile (included by the first): makefile.test
> > 
> > all:
> >       echo Hello World.
> >       echo $(TEMP)
> > 
> > 
> > This is the good case:
> > 
> > $ make all
> > echo Hello World.
> > Hello World.
> > echo /cygdrive/c/RIS/Software/3G_Platform_2_5_make
> > /cygdrive/c/RIS/Software/3G_Platform_2_5_make
> > 
> > If I include the bash path /cygdrive/c/... etc I get the following error:
> > 
> > $ make all
> > makefile:4: /cygdrive/c/RIS/Software/3G_Platform_2_5_make/makefile.test:
> > No such file or directory
> > c:\ris\bin\make.exe: *** No rule to make target
> > `/cygdrive/c/RIS/Software/3G_Platform_2_5_make/makefile.test'.  Stop.
> > 
> > Is this a bug in make? Or bash? Or am I missing something here.
> > 
> > Please help.
> > 
> > 
> > 
> > My set up:
> > 
> > GNU make, Cygnus bash running on MS Windows 2000.
> > 
> > !::='::\'
> > !C:='C:\cygwin\bin'
> > ALLUSERSPROFILE='C:\Documents and Settings\All Users'
> > APPDATA='C:\Documents and Settings\ubirs\Application Data'
> > BASH=/usr/bin/bash
> > BASH_VERSINFO=([0]="2" [1]="05a" [2]="0" [3]="3" [4]="release"
> > [5]="i686-pc-cygwin")
> > BASH_VERSION='2.05a.0(3)-release'
> > BIN_PATH='C:\RIS\bin'
> > C6X_A_DIR='.;C:\ti\c6000\cgtools\include;C:\ti\c6000\cgtools\lib;.;C:\ti\c
> > 6000\bios\include;C:\ti\c6000\bios\lib;.;C:\ti\c6000\rtdx\include;C:\ti\c6
> > 000\rtdx\lib'
> > C6X_C_DIR='.;C:\ti\c6000\cgtools\include;C:\ti\c6000\cgtools\lib;.;C:\ti\c
> > 6000\bios\include;C:\ti\c6000\bios\lib;.;C:\ti\c6000\rtdx\include;C:\ti\c6
> > 000\rtdx\lib'
> > COLUMNS=80
> > COMMONPROGRAMFILES='C:\Program Files\Common Files'
> > COMPUTERNAME=UBI-DEV1
> > COMSPEC='C:\WINNT\system32\cmd.exe'
> > DIRSTACK=()
> > EUID=500
> > GROUPS=()
> > HISTFILE=/home/Administrator/.bash_history
> > HISTFILESIZE=500
> > HISTSIZE=500
> > HOME=/home/Administrator
> > HOMEDRIVE=C:
> > HOMEPATH='\'
> > HOSTNAME=UBI-DEV1
> > HOSTTYPE=i686
> > IFS=$' \t\n'
> > LINES=25
> > LOGONSERVER='\\CAMATH01'
> > MACHTYPE=i686-pc-cygwin
> > MAILCHECK=60
> > MAKESHELL=/usr/bin/sh
> > MAKE_MODE=unix
> > NUMBER_OF_PROCESSORS=1
> > OLDPWD=/cygdrive/c/RIS/Software/3G_Platform_2_5_make/build
> > OPTERR=1
> > OPTIND=1
> > OS=Windows_NT
> > OS2LIBPATH='C:\WINNT\system32\os2\dll;'
> > OSTYPE=cygwin
> > PATH='/usr/local/bin:/usr/bin:/bin:.:/cygdrive/c/ris/bin:/cygdrive/c/ti/bi
> > n:/cygdrive/c/ti/c6000/cgtools/bin:/cygdrive/c/Tornado/host/x86-win32/bin:
> > /cygdrive/c/gcc-2.95.2/bin:/cygdrive/c/mks/mkssi:/cygdrive/c/mks/mksnt:/cy
> > gdrive/c/WINNT/system32:/cygdrive/c/WINNT:/cygdrive/c/WINNT/System32/Wbem:
> > /cygdrive/c/oracle/ora81/bin:/cygdrive/c/Program
> > Files/Oracle/jre/1.1.7/bin:/cygdrive/c/WINNT/system32:/cygdrive/c/WINNT:/c
> > ygdrive/c/WINNT/System32/Wbem:/cygdrive/c/PROGRA~1/COMMON~1/Autodesk
> > Shared/:/cygdrive/c/vslick/win'
> > PATHEXT='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
> > PIPESTATUS=([0]="2")
> > PPID=1
> > PROCESSOR_ARCHITECTURE=x86
> > PROCESSOR_IDENTIFIER='x86 Family 15 Model 1 Stepping 2, GenuineIntel'
> > PROCESSOR_LEVEL=15
> > PROCESSOR_REVISION=0102
> > PROGRAMFILES='C:\Program Files'
> > PROMPT='$P$G'
> > PS1=$'\\[\\033]0;\\w\\007\n\\033[32m\\]\\u@\\h
> > \\[\\033[33m\\w\\033[0m\\]\n$ '
> > PS2='> '
> > PS4='+ '
> > PWD=/cygdrive/c/RIS/Software/3G_Platform_2_5_make
> > ROOTDIR=c:/mks
> > SHELL=/usr/bin/sh
> > SHELLOPTS=braceexpand:hashall:histexpand:monitor:history:interactive-comme
> > nts:emacs
> > SHLVL=1
> > SYSTEMDRIVE=C:
> > SYSTEMROOT='C:\WINNT'
> > TEMP=/cygdrive/c/DOCUME~1/ubirs/LOCALS~1/Temp
> > TERM=cygwin
> > TI_DIR='C:\ti'
> > TMP=/cygdrive/c/DOCUME~1/ubirs/LOCALS~1/Temp
> > TMPDIR=/cygdrive/c/WINNT/TEMP
> > UID=500
> > USER=Administrator
> > USERDOMAIN=UK-MAIN
> > USERNAME=UBIRS
> > USERPROFILE='C:\Documents and Settings\ubirs'
> > WINDIR='C:\WINNT'
> > _=all
> > i='/etc/profile.d/*.sh'
> > 
> > 
> > 
> > 
> > 
> > 
> > GNU bash, version 2.05a.0(3)-release (i686-pc-cygwin)
> > Copyright 2001 Free Software Foundation, Inc.
> > 
> > 
> > GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
> > Built for Windows32
> > Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
> >       Free Software Foundation, Inc.
> > This is free software; see the source for copying conditions.
> > There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
> > PARTICULAR PURPOSE.
> > 
> > Report bugs to <bug-make AT gnu DOT org>.
> > 
> > 
>FYI: I have sent the same email to GNU...
>
>--
>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/

- Raw text -


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