how to build dynamically linked arm binary

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

Michel
Posts: 2272
Joined: Mon Sep 29, 2008 1:50 am

Re: how to build dynamically linked arm binary

Post by Michel »

The only obstacle was that -lpthread is not included with the ndk but anyway single cpu is fine too.
I seem to recall that pthread is integrated in bionic... so it is not a separate library.
Daniel Shawul
Posts: 4185
Joined: Tue Mar 14, 2006 11:34 am
Location: Ethiopia

Re: how to build dynamically linked arm binary

Post by Daniel Shawul »

Indeed! It worked without linking to a pthread library. Some other posix call I used in nebiyu such as posix_memalign was not supported though, which I think didn't need forr binonic. My app size brought down from 3.5MB to mere 0.7kb now. You have been of great help. thanks
Sven
Posts: 4052
Joined: Thu May 15, 2008 9:57 pm
Location: Berlin, Germany
Full name: Sven Schüle

Re: how to build dynamically linked arm binary

Post by Sven »

Daniel Shawul wrote:My app size brought down from 3.5MB to mere 0.7kb now.
;-)
Daniel Shawul
Posts: 4185
Joined: Tue Mar 14, 2006 11:34 am
Location: Ethiopia

Re: how to build dynamically linked arm binary

Post by Daniel Shawul »

Oops. it is 0.7MB :)