delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/28/06:13:24

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: <002001c354f0$c5554590$267d883e@starfruit>
From: "Max Bowsher" <maxb AT ukf DOT net>
To: "Chris" <caj AT cs DOT york DOT ac DOT uk>, <cygwin AT cygwin DOT com>
References: <007101c354f1$d769ea00$39da86d9 AT pavilion>
Subject: Re: Questions about converting apps to cygwin
Date: Mon, 28 Jul 2003 11:12:36 +0100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165

Chris wrote:
> Hello!
>
> For experience (and because I want to use it) I am in the process of
> converting the "bsdiff" binary diffing application to windows from *BSD,
and
> thought I would come via cygwin, and then decide if I should move to fully
> windows.
>
> A couple of questions about converting apps..
>
> 1) Cygwin seems to lack err.h (the "standard" err.h, not the one in
openssl)
> which I've seen in quite a lot of applications. It is fairly easy to stub
> around but still annoying it's not there. Is there some reason this isn't
in
> the stdlib? could it be copied there from another GPL/BSDed standary C
> library? Could I even write one? :)

Don't assume we know what this is. Explain, or point to a reference.
By the way, Cygwin's C library is newlib, so if this is a C library change,
you would have to submit it to the newlib project, and it would
automatically appear in Cygwin once it was accepted into newlib.

> 2) If I set up a pipe between two applications, there seems to be limit to
> how much I can send through it in one go, I'm not sure what the limit is
but
> under linux / bsd I regularily send through 13MB arrays in one go. However
I
> can send through 13MB without reading if I just knock it through in 10K
> sections. Is there a fixed upper limit? Any chance of it being upped
higher?

Don't know.

> 3) Disconnected from this.. cygwin doesn't seem to have ?spell (aspell,
> ispell). I've compiled both aspell and ispell and they require very little
> alteration.. is it simply a case of no-one wants to look after them? or a
> lack of languages / nice setup program?

See cygwin-apps@ archives. Aspell packages are in the pipeline.

> 4) Finally, a notational issue :) In my application I use bzipped files.
The
> program currently forks, runs bzip externally, and then reads / writes to
> it. The other alternative is to use the bzip library. Is there one of
these
> which is more "cygwinny"? :)

Either really, I would guess that performance would be better using the
library.

> Thank you for any help and advice!

You're welcome,



Max.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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