Compiling netcat under cygwin
Nenad Antic (EAB)
Nenad.Antic@era.ericsson.se
Thu Sep 5 10:51:00 GMT 2002
Hi,
I combined the latest Debian netcat patch that has various bug fixes with the one Bjoern submitted earlier today to make it compile on cygwin.
Thought that I might send it here since I don't know where else to put it. (In case somebody else wants a native cygwin netcat.)
Just run
patch <netcat_1.10-12.1_cygwin.diff
make cygwin
in the original nc110 directory.
Regards,
/Nenad
> > > 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.
> >
> > [ ... ]
> >
> > > 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.
> >
> > Please find the attached patch.
> > unpack the above mentioned tar-file in a empty directory,
> > save the patch in the same directory, then run in that directory
> > patch <netcat-cygwin.patch
> > make cygwin
> > You should find a nc binary after these steps in the directory.
> >
> > Note: I am in no connection to the netcat maintainer, neither
> > native or cygwin, and I have no plans to maintain a
> > cygwin-version. I just taken 10 minutes to hack this up.
> >
> >
> > Bjoern
> >
> > --
> > +-------------------------------------------------------------
> > --------+
> > | Dipl.-Phys. Bjoern Kahl +++ AG Embedded Systems and
> > Robotics (RESY) |
> > | Informatics Faculty +++ Building 48 +++ University of
> > Kaiserslautern|
> > | phone: +49-631-205-2654 +++ www:
> http://resy.informatik.uni-kl.de |
> +-------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: netcat_1.10-12.1_cygwin.diff
Type: application/octet-stream
Size: 22140 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20020905/9fb61a39/attachment.obj>
-------------- next part --------------
--
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/
More information about the Cygwin
mailing list