./configure
make
- make test (optional)
+ make ahost adig acountry (optional)
make install
You probably need to be root when doing the last command.
set PATH=c:\mingw32\bin;%PATH%
- then run 'mingw32-make' in the root dir.
- There is another make target available to build the demo files:
- 'mingw32-make demos'
+ then run 'make -f Makefile.m32' in the root dir.
Cygwin
------
Important static c-ares usage note
----------------------------------
- When building an application that uses the static libc-ares library, you must
+ When building an application that uses the static c-ares library, you must
add '-DCARES_STATICLIB' to your CFLAGS. Otherwise the linker will look for
dynamic import symbols.
Download and unpack the c-ares package.
- 'cd' to the new directory. (e.g. cd c-ares-7.12.3)
+ 'cd' to the new directory. (e.g. cd c-ares-1.7.6)
Set environment variables to point to the cross-compile toolchain and call
configure with any options you need. Be sure and specify the '--host' and