On 8/10/2010 10:54 AM, Christopher Faylor wrote:
I wanted to let everyone know that I'm aware of the fact that make-3.82
has been released. However, given the number of reported problems in
the make bugs mailing list, I don't plan on releasing a new version of
GNU make until the dust has settled. That means no new version of make
for at least a month.
Also, given the ability to use more UNIX-like filenames in Cygwin 1.7.x,
I'm contemplating not doing what I'd previously mentioned - using new
changes in GNU make to allow MS-DOS file names like "c:\foo" in
makefiles. I'll have to investigate just how much the Windows-isms in
GNU make's code impact Cygwin make before I make a final determination.
I may just decide to reenable the --ms-dos option as it used to be in
the old days. Or, if that's too much work, I might just turn off
special-case handling of c:\blah entirely - just like it is in
make-3.81.
FYI.
Thanks for the heads up.
On Cygwin, make-3.82 supports DOS paths by default. I'm curious about
what work might be involved in re-enabling the --ms-dos option, and I'd
like to help, if I can.
I built my Cygwin make-3.82 packages directly from the upstream release
tarball using the attached script.
-Rob
#!/bin/bash
# naming convention and rules for generation from http://cygwin.com/setup.html
PACKAGE=make
VERSION=3.82
# release number
RELEASE=1
PACKAGE_BIN_FILE=${PACKAGE}-${VERSION}-${RELEASE}.tar.bz2
PACKAGE_SRC_FILE=${PACKAGE}-${VERSION}-${RELEASE}-src.tar.bz2
# constructed stuff
PACKAGE_BIN_DIR=usr
PACKAGE_SRC_DIR=${PACKAGE}-${VERSION}-${RELEASE}
# stuff for building
VENDOR_DIR=make-3.82
VENDOR_FILE=${VENDOR_DIR}.tar.gz
BUILD_PREFIX=/usr
# whack anything generated
rm -f -r ${PACKAGE_BIN_FILE} \
${PACKAGE_BIN_DIR} \
${PACKAGE_SRC_FILE} \
${PACKAGE_SRC_DIR} \
${VENDOR_DIR} \
|| exit 1
if [ "$1" = "clean" ]
then
exit 0
fi
# unpack tarball
tar zxf ${VENDOR_FILE} || exit 1
# archive source for package
cp -r ${VENDOR_DIR} ${PACKAGE_SRC_DIR} || exit 1
# construct PACKAGE_SRC_FILE from archive
(tar cf - --owner=0 --group=0 ${PACKAGE_SRC_DIR} |
bzip2 > ${PACKAGE_SRC_FILE}) || exit 1
if [ "$1" = "nobuild" ]
then
exit 0
fi
pushd ${PACKAGE_SRC_DIR} || exit 1
# run ./configure
./configure --prefix=${BUILD_PREFIX} || exit 1
# note that make needs an absolute path for installation
make prefix="$(pwd)/../${PACKAGE_BIN_DIR}" install || exit 1
popd
(tar cf - --owner=0 --group=0 ${PACKAGE_BIN_DIR} | \
bzip2 > ${PACKAGE_BIN_FILE}) || exit 1
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple