X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=2.9 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,TW_RW,TW_WX X-Spam-Check-By: sourceware.org Message-ID: <1336257619.91550.YahooMailClassic@web28608.mail.ukl.yahoo.com> Date: Sat, 5 May 2012 23:40:19 +0100 (BST) From: Marilo Reply-To: narium85-mlscar AT yahoo DOT co DOT uk Subject: How do I build this program for Cygwin? To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q45Medr0021125 I don't have a background in C.. I want to compile this program for Cygwin.. http://netcat.cvs.sourceforge.net/viewvc/netcat/?view=tar I know cygwin has a netcat package installed, but I think this one on sourceforge might be more up to date. I've heard for example that the one on sourceforge supports socks, and i'm not sure that the nc built into cygwin does. I want to use the switch -X proto I have the subdirectory here Steve AT comp ~/netcat/netcat $ ls -l total 153 -rwxr-xr-x 1 Steve None 45213 Jan 15 2004 ABOUT-NLS -rwxr-xr-x 1 Steve None 473 Dec 10 2003 AUTHORS -rwxr-xr-x 1 Steve None 12620 Oct 24 2004 ChangeLog -rwxr-xr-x 1 Steve None 14987 Jan 15 2004 config.rpath -rwxr-xr-x 1 Steve None 5816 Jan 15 2004 configure.ac -rwxr-xr-x 1 Steve None 17992 May 4 2002 COPYING drwxr-xr-x+ 1 Steve None 0 May 5 23:18 doc -rwxr-xr-x 1 Steve None 9240 Oct 2 2002 INSTALL drwxr-xr-x+ 1 Steve None 0 May 5 23:18 lib drwxr-xr-x+ 1 Steve None 0 May 5 23:18 m4 -rwxr-xr-x 1 Steve None 930 Jan 15 2004 Makefile.am -rwxr-xr-x 1 Steve None 902 Jun 8 2002 Makefile.cvs -rwxr-xr-x 1 Steve None 2929 Jan 15 2004 mkinstalldirs -rwxr-xr-x 1 Steve None 6143 Jan 11 2004 NEWS drwxr-xr-x+ 1 Steve None 0 May 5 23:18 po -rwxr-xr-x 1 Steve None 1041 Jan 3 2004 README -rwxr-xr-x 1 Steve None 2464 Oct 24 2004 README.CVS drwxr-xr-x+ 1 Steve None 0 May 5 23:18 src -rwxr-xr-x 1 Steve None 2019 Oct 24 2004 TODO Steve AT comp ~/netcat/netcat But I see no "configure" file, and when I try to run INSTALL I get a syntax error. So i'm wondering if maybe i'm going the wrong way about it. $ ./INSTALL ./INSTALL: line 1: syntax error near unexpected token `C' ./INSTALL: line 1: `Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002 Free Software' Steve AT comp ~/netcat/netcat $ -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple