Does anyone know how to build Leptonica library under pnacl-clang++.
I can build the library using clang++ compiler.
cd leptonica-1.71
./configure CC="clang" CXX="clang++" --enable-shared
make
I don't know how to configure
pnacl-clang++ to build Leptonica library.
Per Google documentation, This is how every file is compiled separately.
e.g.
nacl_sdk/pepper_<version>/toolchain/win_pnacl/bin/pnacl-clang++ \
hello_world.cc -Inacl_sdk/pepper_<version>/include -c \
-o hello_world.o -g -O0
But, I don't want to run pnacl-clang++ separately on every individual file in the library folder. I must configure
it.
Thanks.