delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/05/01/18:23:24

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
References: <4819E3A6 DOT 80704 AT bmts DOT com> <00fd01c8aba6$4aa83e80$2708a8c0 AT CAM DOT ARTIMI DOT COM> <481A1416 DOT 4030003 AT bmts DOT com>
Subject: RE: More than 16 Serial Ports
Date: Thu, 1 May 2008 23:22:49 +0100
Message-ID: <012d01c8abd9$e37556b0$2708a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <481A1416.4030003@bmts.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

Ralph Hempel wrote on 01 May 2008 20:04:

> Dave Korn wrote:
>> Ralph Hempel wrote on 01 May 2008 16:37:
>> 
>>> So now the question is, where do we poke around in the
>>> source to increase the limit of serial ports under
>>> Cygwin?
>> 
>>   Look at winsup/cygwin/devices.in, which is a template that is used to
>> auto-generate the code in winsup/cygwin/devices.cc, using the
>> winsup/cygwin/gendevices script.
>> 
>>   Note that on mainline (as opposed to the 1.5.x release branch), the
>> number appears to have been raised to 64 quite some time ago.
> 
> So to get the >16 port support, I download the source from the snapshot
> area and build cygwin1.dll myself? Or can I just get prebuilt version
> from the snapshot tree?

  It's up to you.  The snapshots are all of mainline, which is a
work-in-progress at the moment that will become 1.7; it's pretty stable, but
has a lot of changes from 1.5.x and a bit risky for a production environment.
There'd be no particular advantage in building it from source versus
downloading the binary snapshot package, since (modulo non-determinacy bugs in
the compiler) you'd only get the exact same thing with minor variations in the
file paths in the debug info and the object/exe file timestamps.

  If you want minimal changes to your current system, to reduce the risk of
new and unknown bugs creeping in, your best bet is just use setup.exe to
install the source package corresponding to your current version of the DLL,
patch and rebuild that.

> Sorry for the dumb questions.

  Not dumb.  Everyone's gotta start somewhere, and your questions are
pertinent and clearly expressed :)

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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