delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/08/10/16:13:56

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,TW_ZX,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4C61B2F5.2040409@qualcomm.com>
Date: Tue, 10 Aug 2010 13:13:41 -0700
From: Rob Walker <rwalker AT qualcomm DOT com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5
MIME-Version: 1.0
To: <cygwin AT cygwin DOT com>
Subject: Re: [ANNOUNCEMENT] Update on status of make-3.82 release for cygwin
References: <announce DOT 20100810175435 DOT GA27225 AT ednor DOT casa DOT cgf DOT cx>
In-Reply-To: <announce.20100810175435.GA27225@ednor.casa.cgf.cx>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

--------------080206050106060506060400
Content-Type: text/plain; charset="ISO-8859-1"; format=flowed
Content-Transfer-Encoding: 7bit

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



--------------080206050106060506060400
Content-Type: text/plain; name="package.sh"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="package.sh"

#!/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



--------------080206050106060506060400
Content-Type: text/plain; charset=us-ascii

--
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
--------------080206050106060506060400--

- Raw text -


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