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]

How do I build this program for Cygwin?


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


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