Update README.rst
fix the typo and add the missing command in sample command
This commit is contained in:
parent
522faeb24f
commit
c47855085b
|
@ -142,7 +142,7 @@ To compile the source code, gcc >= 4.8.3 or clang >= 3.4 is required.
|
||||||
Notes for building on Windows (Mingw/Cygwin)
|
Notes for building on Windows (Mingw/Cygwin)
|
||||||
-------------------------------------------
|
-------------------------------------------
|
||||||
|
|
||||||
Under Mingw environment, you can only complie the library, it's `libnghttp2-X.dll` and `libnghttp2.a`.
|
Under Mingw environment, you can only compile the library, it's `libnghttp2-X.dll` and `libnghttp2.a`.
|
||||||
|
|
||||||
If you want to compile the applications(`h2load`, `nghttp`, `nghttpx`, `nghttpd`), you need to use the Cygwin environment.
|
If you want to compile the applications(`h2load`, `nghttp`, `nghttpx`, `nghttpd`), you need to use the Cygwin environment.
|
||||||
|
|
||||||
|
@ -150,10 +150,11 @@ Under Cygwin environment, to compile the applications you need to compile and in
|
||||||
|
|
||||||
and second, you need to undefine the macro \_\_STRICT\_ANSI\_\_, if you not, the functions `fdopen`, `fileno` and `strptime` will not available.
|
and second, you need to undefine the macro \_\_STRICT\_ANSI\_\_, if you not, the functions `fdopen`, `fileno` and `strptime` will not available.
|
||||||
|
|
||||||
the simple command like this::
|
the sample command like this::
|
||||||
|
|
||||||
export CFLAGS="-U__STRICT_ANSI__ -I$libev_PREFIX/include -L$libev_PREFIX/lib"
|
export CFLAGS="-U__STRICT_ANSI__ -I$libev_PREFIX/include -L$libev_PREFIX/lib"
|
||||||
export CXXFLAGS=$CFLAGS
|
export CXXFLAGS=$CFLAGS
|
||||||
|
./configure
|
||||||
make
|
make
|
||||||
|
|
||||||
If you want to compile the applications under `examples/`, you need to remove or rename the `event.h` from libev's installation, because it conflicts with libevent's installation.
|
If you want to compile the applications under `examples/`, you need to remove or rename the `event.h` from libev's installation, because it conflicts with libevent's installation.
|
||||||
|
|
Loading…
Reference in New Issue