diff options
author | Morten Sorvig <morten.sorvig@nokia.com> | 2009-11-29 09:29:55 -0600 |
---|---|---|
committer | Morten Sorvig <morten.sorvig@nokia.com> | 2009-11-29 09:29:55 -0600 |
commit | cb17a0650e931ff702f33173ad0a2d758238f58a (patch) | |
tree | 788c1b953b838a0013662c09a4a997ec420861a8 | |
parent | ee0fdc3eaa0bb272a86aaae285e5fce9fb5bac75 (diff) |
Update build instructions
-rw-r--r-- | readme-nacl | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/readme-nacl b/readme-nacl index ecc0f5f1c1..41ed0136a9 100644 --- a/readme-nacl +++ b/readme-nacl @@ -1,15 +1,28 @@ Compiling Qt for Native client. +Qt for Google Native Client supports building on either Mac or Linux systems. The resulting +binaries run on any NaCl-enabled x86 system. + After installing Native Client (and testing the installation following the instructions), -make sure the gcc binaries and sel_ldr are in your path. for example: (Mac) +make sure the gcc binaries and sel_ldr are in your path. For example: +Mac: export PATH=$PATH:/path/to/ncal/build/native_client/src/third_party/nacl_sdk/mac/sdk/nacl-sdk/bin export PATH=$PATH:/path/to/ncal/build/native_client/scons-out/opt-mac-x86-32/staging/ +Linux: +export PATH=$PATH:/path/to/ncal/build/native_client/src/third_party/nacl_sdk/linux/sdk/nacl-sdk/bin/ +export PATH=$PATH:/path/to/ncal/build/native_client/scons-out/opt-linux-x86-32/staging/ + +(Test by running nacl-gcc and sel_ldr, which should be in the path now) + Configure Qt -./configure -nacl /path/to/ncal/build +./configure -nacl /path/to/nacl/build -Build +(If you get a "The target system byte order could not be detected" error message, +then nacl-gcc isn`t in your path.) + +Build Qt cd src/tools; make ; cd ../.. (workaround to build moc etc) make sub-src (should succeed) make -k (will build as many examples and demos as possible, and then fail) @@ -18,5 +31,6 @@ Test (sel_ldr) Run: sel_ldr examples/widgets/wiggly/wiggly Test (browser) -For now, use one of the included examples as a template, and replace the executable. The -voronoy example works well for this.
\ No newline at end of file +For now, use one of the included examples as a template and replace the executable. The +voronoy example works well for this. + |