If Cygwin64, install the following dependencies:
	patch
	make
	gcc-core

 1) Get the files nc6_1.0.orig.tar.gz and nc6_1.0-8.debian.tar.gz from https://launchpad.net/ubuntu/+source/nc6/1.0-8 and store in home directory.
 2) gzip -d nc6_1.0.orig.tar.gz
 3) tar xf nc6_1.0.orig.tar
 4) gzip -d nc6_1.0-8.debian.tar.gz
 5) tar xf nc6_1.0-8.debian.tar
 6) cd nc6-1.0
 7a) solaris: gawk '{print "gpatch -p1 -i "$1}' ../debian/patches/series > patch.sh
 7b) linux/cygwin: gawk '{print "patch -p1 < "$1}' ../debian/patches/series > patch.sh
 8) cp ../debian/patches/*.diff .
 9) bash patch.sh 

10) On Solaris, you need to add the following lines in the file ./src/afindep.c, somewhere towards the top of the file, after the include statements
#ifndef SOL_IP
#       define SOL_IP                   IPPROTO_IP
#endif
#ifndef SOL_IPV6
#       define SOL_IPV6                 IPPROTO_IPV6
#endif
11) Modify the file src/io_stream.c so the idle time out error message will be printed even when not in verbose mode, by commenting out the if:
			/*if (very_verbose_mode())*/
				warning(_("%s idle timed out"), ios->name);


12) If Cygwin64 (install wget if missing): 
		wget -O config.guess 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD' && mv config.guess config/config.guess
		wget -O config.sub 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD' && mv config.sub config/config.sub

13) ./configure --enable-bluez=no && make
14) cd src
15) strip nc6


