Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <3DBC4223.8080007@beamreachnetworks.com>
Date: Sun, 27 Oct 2002 11:44:35 -0800
From: "Eric M. Monsler" <emonsler@beamreachnetworks.com>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-CA; rv:1.0.1) Gecko/20020823 Netscape/7.0
X-Accept-Language: en-ca, en
MIME-Version: 1.0
To: Vijay Sampath <vsampath@valosystems.com>
CC: cygwin@cygwin.com
Subject: Re: dmake for cygwin
References: <D8BB1D1FB113524E95EEF65D595C89BF133E7E@CORVAIR.valosystems.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Vijay Sampath wrote:
> Hi,
>  
> Has anybody had any luck compiling dmake for cygwin. Any help is
> appreciated.

I attempted this some time ago (close to 2 years?), so my memory of it 
is not 100% reliable.  I believe that I could get it to compile by 
pretending I was compiling for Linux, but that the resulting executable 
did not operate properly.  At that point I gave up.

Have you tried the windows dmake from the cygwin shell?  When I did so, 
I could not figure out how to properly mangle path names such that dmake 
knew it was running in a DOS-ish shell.  It kept trying to create ksh 
files and execute them, rather than .bat files as it did when invoked 
under the WinNT command shell.  It seemed to be keying on the path 
separator of "/" vs. "\" in deciding whether to make .bat or ksh files.

I came to see three possible solutions:
1) Compile and fix dmake as cygwin-native
2) Find a path-mangling in and out of dmake
3) Provide enough of a ksh-alike to let dmake operate in a hybrid 
environment (although I don't know if dmake would actually support that).

All three of which seemed like more work that just keeping a windows 
command shell for building in parallel with my bash shell for 
searching-grepping and Xemacs for editing.

If you do find a way to let dmake play nice under cygwin, please post 
the results.


Eric


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

