Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Tue, 4 Jun 2002 12:42:13 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: Building cygwin1.dll and mknetrel Message-ID: <20020604164213.GA29956@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20020528190238 DOT A22088 AT monster DOT rich-paul DOT net> <20020528232930 DOT GA18281 AT redhat DOT com> <20020529091728 DOT D22088 AT monster DOT rich-paul DOT net> <20020529143618 DOT GA2808 AT redhat DOT com> <20020602004747 DOT A10315 AT monster DOT rich-paul DOT net> <20020602062824 DOT GA1808 AT redhat DOT com> <20020602072107 DOT B10865 AT monster DOT rich-paul DOT net> <20020603053325 DOT A13720 AT monster DOT rich-paul DOT net> <20020604050101 DOT GA12031 AT redhat DOT com> <51438910093 DOT 20020604102557 AT logos-m DOT ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <51438910093.20020604102557@logos-m.ru> User-Agent: Mutt/1.3.23.1i On Tue, Jun 04, 2002 at 10:25:57AM +0400, egor duda wrote: >Hi! > >Tuesday, 04 June, 2002 Christopher Faylor cgf AT redhat DOT com wrote: > >>> * On my production system, I had to change the '#!/bin/sh' to >>> '#!/bin/bash' on one of the mknetrel shell scripts >>> to get the shell to accept the usage of getopts ... but on the >>> fresh install, I did not. (This is the bash getopts builtin, >>> not the standalone and singular 'getopt' discussed above) > >CF> Yes, I have never run this under cygwin, actually. It was intended as a >CF> cross-compilation environment. I'm surprised that it works on cygwin >CF> with so few changes. > >I'm running it on cygwin. All i need is to build getopt.exe and >readlink.exe from two attached source files. readlink.c is taken from >OpenBSD cvs, and getopt.c is slightly patched version of getopt.c from >linux-utils. They both can be built out-of-the-box. FWIW, I've eliminated the need for getopt and (I hope) readlink in the cvs version of mknetrel. cgf -- 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/