delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/25/16:10:40

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <025b01c08710$b836cec0$3c5350d8@terrapin.bluesguitar.org>
From: "Matthew Smith" <matts AT bluesguitar DOT org>
To: "Cygwin" <cygwin AT sources DOT redhat DOT com>
References: <Mumit Khan's message of "Wed, 24 Jan 2001 21:07:04 -0600 (CST)"> <Pine DOT HPP DOT 3 DOT 96 DOT 1010124210336 DOT 12201A-100000 AT hp2 DOT xraylith DOT wisc DOT edu> <4 DOT 3 DOT 1 DOT 2 DOT 20010125112925 DOT 022aeea8 AT pop DOT ma DOT ultranet DOT com>
Subject: Re: KSH is pdksh
Date: Thu, 25 Jan 2001 14:52:24 -0600
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400

For what it's worth, I started taking a stab at compiling AT&T's ksh.  Man,
they certainly do use some wacky packaging tools.  At any rate, here are
some of the problems that I encountered, and what I did about them.

1) The 'package' script wants to see getopts.  Thus, I made sh a link to
bash to work around this.

2) The 'package' script always seemed to fail, complaining about not being
in the package root (when it was).  I solved this by editing the package
script to not exit if that particular error happened.

3) I made a link from gcc->cc for convenience sake (read: laziness).

At this point the 'mamake' utility seems to start configuring/making things.
However, it spits out the following errors:

/home/matts/att/src/lib/libast/include/ast_std.h:672: conflicting types for
`rea
d'
/usr/include/sys/unistd.h:72: previous declaration of `read'
/home/matts/att/src/lib/libast/include/ast_std.h:690: conflicting types for
`wri
te'
/usr/include/sys/unistd.h:99: previous declaration of `write'

Can anyone suggest an elegant way around this?

thanks,
-Matt Smith


> >
> >It would sure be nice to bring a maintainable ksh into the Cygwin
> >fold, just for the sake of increased Unix compatibility.
>
>
> Volunteers welcome!:-)
>



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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