README.Windows 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. Building Polipo on Windows
  2. ==========================
  3. There are two distinct ports of Polipo to Windows -- a port using the
  4. Cygwin emulation libraries, and an experimental native port using Mingw.
  5. The Cygwin port is identical to the Unix binary. Build it just like
  6. you would build under Unix -- just type ``make all'' in the directory
  7. where you untarred the Polipo sources.
  8. In order to build the native port, cd to the Polipo directory, and do
  9. make EXE=.exe LDLIBS=-lwsock32
  10. or, if you've got a regex library,
  11. make EXE=.exe EXTRA_DEFINES=-DHAVE_REGEX LDLIBS="-lwsock32 -lregex"
  12. In order to cross-compile from a Unix system, you will probably need
  13. to point make at the right compiler:
  14. make EXE=.exe CC=i586-mingw32msvc-gcc LDLIBS=-lwsock32
  15. The native port currently attempts to access files in locations that
  16. are typical for a Unix system; for example, it will attempt to read a
  17. configuration file /etc/polipo/config on the current drive. You will
  18. probably need to point it at your config file with an explicit ``-c''
  19. command-line argument, and define at least the following configuration
  20. variables:
  21. dnsNameServer
  22. diskCacheRoot
  23. forbiddenFile
  24. Help with solving this issue would be very much appreciated.
  25. Juliusz Chroboczek