Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: <5BF569B4AF29D511B9ED00508BB84938012888B5@UBIMBX01> From: Ronnie Shipman To: "'cygwin AT cygwin DOT com'" Subject: RE: Make 'include' directive with Cygnus bash - path problem Date: Mon, 25 Mar 2002 17:52:48 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" More info: $ mount C:\cygwin\bin on /usr/bin type system (binmode) C:\cygwin\lib on /usr/lib type system (binmode) C:\cygwin on / type system (binmode) b: on /cygdrive/b type user (binmode,noumount) c: on /cygdrive/c type user (binmode,noumount) l: on /cygdrive/l type user (binmode,noumount) r: on /cygdrive/r type user (binmode,noumount) s: on /cygdrive/s type user (binmode,noumount) t: on /cygdrive/t type user (binmode,noumount) u: on /cygdrive/u type user (binmode,noumount) v: on /cygdrive/v type user (binmode,noumount) $ type make make is hashed (/cygdrive/c/ris/bin/make) $ cygcheck make Found: c:\ris\bin\make.exe Found: c:\Tornado\host\x86-win32\bin\make.exe Found: c:\gcc-2.95.2\bin\make.exe Found: c:\mks\mksnt\make.exe c:\ris\bin\make.exe C:\WINNT\System32\KERNEL32.dll C:\WINNT\System32\NTDLL.DLL C:\WINNT\System32\USER32.dll C:\WINNT\System32\GDI32.DLL Use -h to see help about each section $ echo $MAKE_MODE unix And to answer to obvious question: $ ls -la /cygdrive/c/RIS/Software/3G_Platform_2_5_make/makefile.test -rw-r--r-- 1 Administ None 39 Mar 25 14:40 /cygdrive/c/RIS/Software/3G_Platform_2_5_make/makefile.test $ ls -la c:/RIS/Software/3G_Platform_2_5_make/makefile.test -rw-r--r-- 1 Administ None 39 Mar 25 14:40 c:/RIS/Software/3G_Platform_2_5_make/makefile.test > -----Original Message----- > From: Larry Hall (RFK Partners, Inc) [mailto:lhall AT rfk DOT com] > Sent: 25 March 2002 17:44 > To: Ronnie Shipman; 'cygwin AT cygwin DOT com' > Subject: Re: Make 'include' directive with Cygnus bash - path problem > > > 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\l > ib;.;C:\ti\c > > > > 6000\bios\include;C:\ti\c6000\bios\lib;.;C:\ti\c6000\rtdx\incl > ude;C:\ti\c6 > > > 000\rtdx\lib' > > > > C6X_C_DIR='.;C:\ti\c6000\cgtools\include;C:\ti\c6000\cgtools\l > ib;.;C:\ti\c > > > > 6000\bios\include;C:\ti\c6000\bios\lib;.;C:\ti\c6000\rtdx\incl > ude;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:/cygd > rive/c/ti/bi > > > > n:/cygdrive/c/ti/c6000/cgtools/bin:/cygdrive/c/Tornado/host/x8 > 6-win32/bin: > > > > /cygdrive/c/gcc-2.95.2/bin:/cygdrive/c/mks/mkssi:/cygdrive/c/m > ks/mksnt:/cy > > > > gdrive/c/WINNT/system32:/cygdrive/c/WINNT:/cygdrive/c/WINNT/Sy > stem32/Wbem: > > > /cygdrive/c/oracle/ora81/bin:/cygdrive/c/Program > > > > Files/Oracle/jre/1.1.7/bin:/cygdrive/c/WINNT/system32:/cygdriv > e/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:inter > active-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 . > > > > > > > >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/