This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: More than 16 Serial Ports


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]