Skip to content

Commit

Permalink
Merge pull request EOSIO#26 from EOSIO/readme_update-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
larryk85 authored Aug 1, 2018
2 parents be1d1a4 + fc2babf commit 723c5b7
Showing 1 changed file with 4 additions and 30 deletions.
34 changes: 4 additions & 30 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,43 +30,15 @@ $ ./build.sh <CORE_SYMBOL>
Finally, install the build
*This install will install the core to ```/usr/local/eosio.wasmsdk``` and symlinks to the top level tools (compiler, ld, etc.) to ```/usr/local/bin```
```sh
$ cd build
$ sudo make install
```

### Manual Installation
`WasmSDK requires CMake v3.5+ and Boost 1.67.0 to run.`

First clone the repo and create a build directory

```sh
$ git clone --recursive https://github.com/eosio/wasmsdk
$ cd wasmsdk
$ mkdir build && cd build
```

Then configure with cmake to install to ```/usr/local/eosio.wasmsdk```

```sh
$ cmake ..
```

or configure cmake to install to a specific path
```sh
$ cmake -DCMAKE_INSTALL_PREFIX=<install path> ..
```

Then to install, simply
```sh
$ make && make install
$ sudo ./install.sh
```

### Installed Tools
---
* [eosio-cpp](#eosio-cpp)
* [eosio-cc](#eosio-cc)
* [eosio-ld](#eosio-ld)
* eosio-pp (only strips all zeroed initialized data segments for now, currently runs automatically with cpp/cc and ld)
* eosio-pp (post processing pass for WASM, automatically runs with eosio-cpp and eosio-ld)
* eosio-ranlib
* eosio-ar
* eosio-objdump
Expand Down Expand Up @@ -179,6 +151,8 @@ eosio.ld options:
-L=<string> - Add directory to library search path
-fno-cfl-aa - Disable CFL Alias Analysis
-fno-lto - Disable LTO
-fno-post-pass - Don't run post processing pass
-fno-stack-first - Don't set the stack first in memory
-l=<string> - Root name of library to link
-lto-opt=<string> - LTO Optimization level (O0-O3)
-o=<string> - Write output to <file>
Expand Down

0 comments on commit 723c5b7

Please sign in to comment.