1.5.17: chroot-ed make adds // to ${MAKE}

Rolf Campbell thats.unpossible@gmail.com
Tue Jun 14 19:10:00 GMT 2005


I'm trying to do a chroot-ed make which uses the content of the ${MAKE} 
variable.  What I'm finding is the value of ${MAKE} has two slashes '//' 
at the beginning, so any attempt to use it failes (looks like a network 
share).

I've created a directory, expanded cygwin-1.5.17-1.tar.bz2 into it, then 
copied make.exe (from the cygwin package).  And a few other dlls that 
were needed by cygwin1.dll (intl/conv).  When I run:

$ chroot . usr/bin/make.exe all
echo //usr/bin/make
make: echo: Command not found
make: *** [all] Error 127

I know that that error code has to do with echo.exe not existing, but 
I'm only concerned with the extra '/' added to ${MAKE}.  My makefiles 
that run sub-makes use it and fail.

--makefile--

all:
	echo ${MAKE}
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.txt
URL: <http://cygwin.com/pipermail/cygwin/attachments/20050614/9557ce4a/attachment.txt>
-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


More information about the Cygwin mailing list