• Home
  • Raw
  • Download

Lines Matching +full:build +full:- +full:djgpp

2 ---------------
4 This file contains some notes on building and using libpcap for MS-DOS.
8 - Borland C 4.0+ small or large model.
9 - Metaware HighC 3.1+ with PharLap DOS-extender
10 - GNU C 2.7+ with djgpp 2.01+ DOS extender
11 - Watcom C 11.x with DOS4GW extender
14 So for djgpp to work with these, disable the use of long file names by
19 Files specific to DOS are pcap-dos.[ch] and the assembly and C files in
20 the MSDOS sub-directory. Remember to built the libpcap library from the top
21 install directory. And not from the MSDOS sub-directory.
23 Note for djgpp users:
25 distribution does NOT contain any sources for building 32-bit drivers.
27 https://www.watt-32.net/pcap/libpcap.zip
34 ------------
36 DOS-libpcap currently only works reliably with a real-mode Ethernet packet-
38 tcpdump) compiled with libpcap. Work is underway to implement protected-
39 mode drivers for 32-bit targets (djgpp only). The 3Com 3c509 driver is
40 working almost perfectly. Due to lack of LAN-cards, I've not had the
41 opportunity to test other drivers. These 32-bit drivers are modified
46 -----------------
50 1. Watt-32 tcp/ip library. This library is *not* used to send or
54 https://www.watt-32.net
59 https://www.watt-32.net/misc/exc_dx07.zip
63 ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/flx254b.zip
64 ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/bsn241b.zip
66 4. NASM assembler v 0.98 or later is required when building djgpp and
72 ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/sed422b.zip
74 A touch tool to update the time-stamp of a file. E.g.:
75 ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/grep29b.zip
77 6. For djgpp rm.exe and cp.exe are required. These should already be
78 part of your djgpp installation. Also required (experimental at the
79 time) for djgpp is DLX 2.91 or later. This tool is for the generation
84 -----------------
88 1. Make sure you've installed Watt-32 properly (see it's `INSTALL' file).
91 deducted from `WATT_ROOT'). djgpp users should also define environment
98 2. Revise the msdos/common.dj file for your djgpp/gcc installation;
99 - change the value of `GCCLIB' to match location of libgcc.a.
100 - set `USE_32BIT_DRIVERS = 1' to build 32-bit driver objects.
103 3. Build pcap by using appropriate makefile. For djgpp, use:
104 `make -f msdos/makefile.dj' (i.e. GNU `make')
107 `wmake -f msdos\makefile.wc'
110 `maker -f msdos\Makefile pcap_bc.lib' (Borland's `maker.exe')
113 `maker -f msdos\Makefile pcap_hc.lib' (Borland's `maker.exe')
115 You might like to change some `CFLAGS' -- only `DEBUG' define currently
118 `-fomit-frame-pointer' to `CFLAGS' to speed up the generated code.
119 But note, this makes debugging and crash-traceback difficult. Only
125 test-program for `libpcap': `filtertest.exe', `findalldevstest.exe',
128 But linking the library with `tcpdump' is the ultimate test. DOS/djgpp
132 https://github.com/the-tcpdump-group/tcpdump/
138 ---------------------
140 I've included some extra functions to DOS-libpcap:
146 array in pcap-dos.c (currently only used to set debug-levels and parameters
147 for the 32-bit network drivers.) Thus an application using DOS-libpcap can
153 Only effective when reading offline traffic from dump-files.