Compiling netcat under cygwin
Nenad Antic (EAB)
Nenad.Antic@era.ericsson.se
Wed Sep 11 07:14:00 GMT 2002
Hi,
The latest debian netcat patch level is 22 (not 12.1, for some reason I got an old one before). However, I can't sort that one out.
Anyway, here are instead the debian netcat patches up to level 21 together with the cygwin patch.
Cheers,
/Nenad
> -----Original Message-----
> From: Nenad Antic (EAB) [mailto:Nenad.Antic@era.ericsson.se]
> Sent: Thursday, September 05, 2002 6:29 PM
> To: 'cygwin@cygwin.com'
> Subject: RE: Compiling netcat under cygwin
>
>
> 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-21_cygwin.diff.gz
Type: application/octet-stream
Size: 11654 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20020911/f77d52cd/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