delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/27/14:46:38

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <3DBC4223.8080007@beamreachnetworks.com>
Date: Sun, 27 Oct 2002 11:44:35 -0800
From: "Eric M. Monsler" <emonsler AT beamreachnetworks DOT 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 AT valosystems DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: dmake for cygwin
References: <D8BB1D1FB113524E95EEF65D595C89BF133E7E AT CORVAIR DOT valosystems DOT com>

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/

- Raw text -


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