mirror of
https://frontier.innolan.net/rainlance/c-ares.git
synced 2025-11-20 11:19:52 +00:00
INSTALL: some adjustments
This commit is contained in:
10
INSTALL
10
INSTALL
@ -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
|
||||
|
||||
Reference in New Issue
Block a user