diff options
Diffstat (limited to 'nacl')
-rw-r--r-- | nacl/README.nacl | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/nacl/README.nacl b/nacl/README.nacl index ef2c3d1fa4..77140e0f75 100644 --- a/nacl/README.nacl +++ b/nacl/README.nacl @@ -15,7 +15,7 @@ You need to install the following things before building NaCl port of Ruby. (2) Set NACL_SDK_ROOT environment variable to the path to the Native Client SDK you installed: $ export NACL_SDK_ROOT=/home/yugui/src/nacl_sdk/pepper_37 (3) Configure - $ ./configure --prefix=/tmp/nacl-ruby --host=x86_64-nacl --with-baseruby=/path/to/ruby-1.9.3 + $ ./configure --prefix=/tmp/nacl-ruby --host=x86_64-nacl --with-baseruby=/path/to/ruby-1.9.3-or-later (4) Make $ make $ make package @@ -28,6 +28,23 @@ embeds Ruby", and libraries to $prefix. You can run it by the following steps: (6) Visit the example.html on the web server by a browser that implements Pepper 18 or later. -- e.g., Chrome 18 implements Pepper 18, Chrome 19 implements Pepper 19, ... +=== Example Configurations +* x86_32 Native Client + $ ./configure --prefix=/tmp/nacl-ruby \ + --host=i686-nacl \ + --with-baseruby=/path/to/ruby-1.9.3-or-later +* arm Native Client + $ ./configure --prefix=/tmp/nacl-ruby \ + --host=arm-nacl \ + --with-newlib \ + --with-baseruby=/path/to/ruby-1.9.3-or-later +* Portable Native Client + $ ./configure --prefix=/tmp/nacl-ruby \ + --host=le32-nacl \ + --with-newlib \ + --with-static-linked-ext \ + --with-baseruby=/path/to/ruby-1.9.3-or-later + = Copyright * Copyright 2012 Google Inc. All Rights Reserved. * Author: [email protected] (Yugui Sonoda) |