home *** CD-ROM | disk | FTP | other *** search
/ BUG 14 / BUGCD1998_05.ISO / internet / tcp4u / tcp4u330.exe / tcp4u.330 / Samples / build.txt next >
Text File  |  1998-03-05  |  2KB  |  42 lines

  1.  
  2. Compile a sample :
  3.  
  4.  
  5.   - Unix
  6.         + You should have compiled the libarry libtcp4ux.a and
  7.           copied it into the Unix directory.
  8.         + use the following command
  9.               cc -o <file> <file>.c -I../../Include ../../Unix/libtcp4ux.a
  10.         + possibly add the socket standard library to this command (it
  11.           depends on your Unix).
  12.  
  13.  
  14.   - Windows 95/NT (Microsoft compiler)
  15.         + set the environment variable LIB
  16.               set LIB=<Standard lib path>;..\..\tcp4w32
  17.         + set the environment variable INCLUDE
  18.               set INCLUDE=<standard include path>;..\..\Include
  19.         + use the command
  20.               cl  -DWIN32 <file>.c tcp4w32.lib
  21.  
  22.   - Windows 3.11 (Microsoft compiler)
  23.         + set the environment variable LIB
  24.               set LIB=<Standard lib path>;..\..\tcp4w16
  25.         + set the environment variable INCLUDE
  26.               set INCLUDE=<standard include path>;..\..\Include
  27.         + use the command
  28.               cl -D_WINDOWS -Mq -AL <file>.c tcp4w.lib winsock.lib
  29.  
  30.   - Windows 95/NT (Borland Compiler)
  31.         + build a new lib file in the tcp4w32 directory with the command
  32.               implib tcp4w32.lib tcp4w32.dll
  33.         + use the command
  34.               bcc32 -DWIN32 -I..\..\Include ..\..\tcp4w32\tcp4w32.lib
  35.  
  36.   - Windows 3.11 (Borland Compiler)
  37.         + build a new lib file in the tcp4w16 directory with the command
  38.               implib tcp4w.lib tcp4w.dll
  39.         + use the command
  40.               bcc -D_WINDOWS -I..\..\Include ..\..\tcp4w16\tcp4w.lib
  41.  
  42.