caldo43 / naclports

Automatically exported from code.google.com/p/naclports
0 stars 0 forks source link

The install scripts doesn't work with latest SDK. #22

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I followed the steps of https://developers.google.com/native-client/sdk/download

After running any install script, it said i686-nacl-gcc cannot be found.

The install script doesn't take 'platform' into account, it tried executing 
NACL_SDK_ROOT/toolchain/... while the binary located at 
NACL_SDK_ROOT/PLATFORM/toolchain/...

Original issue reported on code.google.com by zhangm...@google.com on 10 Dec 2011 at 1:21

GoogleCodeExporter commented 8 years ago
I saw this too. I am not sure what the intent was with this design, but I 
noticed that NACL_SDK_ROOT/toolchain/ was an empty directory tree. So I got 
lazy and just did this for now:
rysnc -av pepper_16/toolchain/ toolchain/
(your pepper_ may vary) and it's working fine.

Original comment by rminn...@gmail.com on 17 Feb 2012 at 4:25

GoogleCodeExporter commented 8 years ago
NACL_SDK_ROOT should be set to the particular pepper_XX folder you want to 
build for.

I suppose it could be clearer, the README.txt just that it should be set the 
folder that contains the toolchain folder.

Please re-open if I've misunderstood.

Original comment by sbc@google.com on 10 Jan 2013 at 7:57