mirror of
https://frontier.innolan.net/rainlance/c-ares.git
synced 2026-03-19 13:07:43 +00:00
INSTALL: some adjustments
This commit is contained in:
10
INSTALL
10
INSTALL
@ -28,7 +28,7 @@ UNIX
|
|||||||
|
|
||||||
./configure
|
./configure
|
||||||
make
|
make
|
||||||
make test (optional)
|
make ahost adig acountry (optional)
|
||||||
make install
|
make install
|
||||||
|
|
||||||
You probably need to be root when doing the last command.
|
You probably need to be root when doing the last command.
|
||||||
@ -118,9 +118,7 @@ Win32
|
|||||||
|
|
||||||
set PATH=c:\mingw32\bin;%PATH%
|
set PATH=c:\mingw32\bin;%PATH%
|
||||||
|
|
||||||
then run 'mingw32-make' in the root dir.
|
then run 'make -f Makefile.m32' in the root dir.
|
||||||
There is another make target available to build the demo files:
|
|
||||||
'mingw32-make demos'
|
|
||||||
|
|
||||||
Cygwin
|
Cygwin
|
||||||
------
|
------
|
||||||
@ -160,7 +158,7 @@ Win32
|
|||||||
Important static c-ares usage note
|
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
|
add '-DCARES_STATICLIB' to your CFLAGS. Otherwise the linker will look for
|
||||||
dynamic import symbols.
|
dynamic import symbols.
|
||||||
|
|
||||||
@ -264,7 +262,7 @@ CROSS COMPILE
|
|||||||
|
|
||||||
Download and unpack the c-ares package.
|
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
|
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
|
configure with any options you need. Be sure and specify the '--host' and
|
||||||
|
|||||||
Reference in New Issue
Block a user