From: Rob Snel Newsgroups: comp.os.msdos.djgpp Subject: WATTCP installation Date: Tue, 07 Oct 1997 18:58:47 +0100 Organization: Delft University of Technology Lines: 38 Message-ID: <343A7857.6D4C@tpd.tno.nl> Reply-To: snel AT tpd DOT tno DOT nl NNTP-Posting-Host: hcp67133.tpd.tno.nl Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk LS, Yes I can compile and run finger nicely, but now I want to port a serious unix program, which (among many others) expects include/sys/socket.h instead of include/tcp/socket.h the existence of include/arpa/inet.h the existence of netdb.h The latter header files are not available but may (?) be copied from a workstation? How do I organize this WATTCP into DJGPP in order to create a "normal" environment? Anybody has done this before? Rob, ----------------------------- I tried to mix the TCPlib into the DJGPP structure (see below) without succes. The system is complaining about various redefinitions. Note: In the following instructions, it is assummed that the DJGPP version 2.0 software is in the directory: d:\djgpp.v2 1. copy d:\tmp\tcplib\obj\libtcp.a d:\djgpp.v2\lib 2. cd d:\tmp\tcplib\include\tcp copy *.* d:\djgpp.v2\include 3. d:\tmp\tcplib\include\types.h d:\djgpp.v2\include\types.h 4. cd d:\tmp\tcplib\include The file ERRNO.H has to be combined with the file d:\djgpp.v2\include\ERRNO.H, in the d:\djgpp.v2\include directory. The file TIME.H has to be combined with the file d:\djgpp.v2\include\TIME.H, in the d:\djgpp.v2\include directory.