Skip to content

Commit a50adb3

Browse files
committed
improve readme
1 parent f37c3f8 commit a50adb3

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

README.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ As an example, if you want to support cocos2d-x in ARM64, you need to compile al
1515

1616
- We use Ubuntu to build all the static libraries for Linux.
1717

18-
- Other platforms is not tested which means if you use windows to build static libraries for Android, it might be failed.
18+
- Other platforms is not tested which means if you use Windows or Linux to build static libraries for Android, it might be failed.
1919

2020

2121
## Download
@@ -38,9 +38,9 @@ brew install m4
3838
- If you want to build static libraries for iOS and Mac, you should install the latest version of XCode. You should also install the `Command Line Tools` bundled with XCode.
3939

4040

41-
- If you want to build static libraries for Android, you should install [NDK](https://developer.android.com/tools/sdk/ndk/index.html). NDK r9d is required at the moment and you should also specify the ANDROID_NDK environment variable in your bash configure file.
41+
- If you want to build static libraries for Android, you should install [NDK](https://developer.android.com/tools/sdk/ndk/index.html). NDK r9d is required at the moment and you should also specify the ANDROID_NDK environment variable in your shell.
4242

43-
- If you want to build static libraries for Tizen, you should download and install [Tizen SDK](https://developer.tizen.org/downloads/tizen-sdk). And you should also add a environment variable named `TIZEN_SDK` in your bash configure file.
43+
- If you want to build static libraries for Tizen, you should download and install [Tizen SDK](https://developer.tizen.org/downloads/tizen-sdk). And you should also add a environment variable named `TIZEN_SDK` in your shell.
4444

4545
### For Linux users
4646
xxx need to improve the document here later.
@@ -85,6 +85,7 @@ OPTIONS
8585
If you want to build *websockets* with *i386* arch, you could use the following command:
8686
8787
```cpp
88+
cd build/ios
8889
./build.sh -s -a i386 -l websockets (Don't forget the -s option, it is stand for simulator, if you omit it, it will give you errors.)
8990
```
9091

@@ -125,6 +126,7 @@ EOF
125126
If you want to build a `curl` library with `armeabi` arch support, you can do it like this:
126127
127128
```cpp
129+
cd build/android
128130
./build.sh -a armeabi -l curl
129131
```
130132

@@ -136,8 +138,15 @@ cd build/mac
136138
./build_png.sh
137139
```
138140
### For Tizen
141+
For building libpng armv7 arch library:
142+
143+
```cpp
144+
cd build/tizen
145+
./build_png.sh
146+
```
139147

140148
### For Linux
149+
xxx After testing these scripts on Linux, document will be update.
141150

142151
## How to build a DEBUG and RELEASE version
143152
xxx we need to improve the script to add debug and release options.

0 commit comments

Comments
 (0)