diff options
author | Yang Tse <yangsita@gmail.com> | 2012-04-25 17:55:09 +0200 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2012-04-25 17:56:00 +0200 |
commit | 88d6dfb3d41da302899a4f733653a17a7a362377 (patch) | |
tree | 639c76a474a5c5ff01ff057eaa29070f3c8e599a | |
parent | d9ff5590365ba24df23e9e76961d3f7d0ad23663 (diff) | |
download | c-ares-88d6dfb3d41da302899a4f733653a17a7a362377.tar.gz c-ares-88d6dfb3d41da302899a4f733653a17a7a362377.tar.bz2 c-ares-88d6dfb3d41da302899a4f733653a17a7a362377.zip |
INSTALL: some adjustments
-rw-r--r-- | INSTALL | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -28,7 +28,7 @@ UNIX ./configure make - make test (optional) + make ahost adig acountry (optional) make install You probably need to be root when doing the last command. @@ -118,9 +118,7 @@ Win32 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 ------ @@ -160,7 +158,7 @@ Win32 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. @@ -264,7 +262,7 @@ CROSS COMPILE 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 |