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 Message-ID: <6526481A986CD51189C30002A52C969701E7A715@Esealnt862.al.sw.ericsson.se> From: "Nenad Antic (EAB)" To: "'cygwin AT cygwin DOT com'" Subject: Compiling netcat under cygwin Date: Thu, 5 Sep 2002 12:15:30 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Hi, I would like to get netcat (http://www.atstake.com/research/tools/nc110.tgz) compiled natively under cygwin. Currently there isn't any appropriate target in netcat's makefile to do this. I do know that there is a Windows NT version available at http://www.atstake.com/research/tools/nc11nt.zip However, when using that version under cygwin netcat behaves a bit funny. I obviously don't know exactly what the problem is, but it seems to be some buffering issue with the input and output streams. This makes it quite hard to use as intended, especially when invoking it in scripts. (I tried using ActiveState's Perl directly under windows native command shell for scripting instead, but it had other "issues", like problems with fork, a broken open3 and more.) Would anybody know how to set up the gcc options so that netcat can compile under cygwin properly? I would be really grateful for this information. Best regards, /Nenad Antic -- 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/