On Wednesday, August 14, 2019 at 11:01:44 AM UTC+3, JB Data31 wrote:
>
> Build done.
>
>> ...
>> [arm64-v8a] StaticLibrary  : libpngt_static.a
>> [arm64-v8a] Executable     : tesseract
>>
>
> Is it the *static command-line executable tesseract* WIKI says ?
>
>> $ file tess-two-git-3/tess-two/obj/local/arm64-v8a/tesseract
>> tess-two-git-3/tess-two/obj/local/arm64-v8a/tesseract: ELF 64-bit LSB 
>> shared object, ARM aarch64, version 1 (SYSV), *dynamically linked*, 
>> interpreter /system/, 
>> BuildID[sha1]=d09c8cfe1013d63e57afeaaf0837a54905cbb7ef, with debug_info, 
>> not stripped
>>
>
> @*JB*Δ <http://jbigdata.fr/jbigdata/index.html>
>

Let me explain what I mean by *static*. This command-line executable does 
not depend on other user libraries, like *libpng*, *liblept*, or *libtess*. 
So, to run it on any Android device, you only need to copy a single file. 

But this  does not include the system runtime code (*libc*,* libm*, *et al.*). 
Technically, it's possible to build an executable that contains also system 
libraries, see e.g. 
https://eli.thegreenplace.net/2012/08/13/how-statically-linked-programs-run-on-linux.
 
This will result in a bigger file, but no advantages before the current 
version. After all, the system calls are still performed by the kernel, so 
even a *statically linked* executable depends on the Android system where 
it runs.

Sincerely,
Alex Cohn
 

-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tesseract-ocr+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/bb43d9a4-8aa2-4238-af30-d127d54acf7c%40googlegroups.com.

Reply via email to