Re: libtool automake android pthread

2012-04-03 Thread Roumen Petrov
Hi, Gerry Reno wrote: On 04/03/2012 03:20 PM, Bob Friesenhahn wrote: On Tue, 3 Apr 2012, Gerry Reno wrote: Hi Bob. I think it's more of an issue that Android does not need an external pthread library. These projects all compiled and linked fine on Linux. But when you try to link them usin

Re: libtool automake android pthread

2012-04-03 Thread Gerry Reno
On 04/03/2012 03:20 PM, Bob Friesenhahn wrote: > On Tue, 3 Apr 2012, Gerry Reno wrote: >> >> Hi Bob. I think it's more of an issue that Android does not need an >> external pthread library. >> >> These projects all compiled and linked fine on Linux. But when you try to >> link them using Androi

Re: libtool automake android pthread

2012-04-03 Thread Gerry Reno
On 04/03/2012 02:29 PM, Bob Friesenhahn wrote: > On Tue, 3 Apr 2012, greno wrote: > >> When I try to build existing GNU toolchain projects >> using the Android and NDK sometimes I run into >> problems with pthread. I get errors like this: >> ../../arm-linux-androideabi/bin/ld: cannot find -lpthrea

Re: libtool automake android pthread

2012-04-03 Thread Bob Friesenhahn
And that is certainly an option although a highly intrusive one which for many projects is not necessary. I mean we have many different GNU toolchain projects that work on many different platforms from a single codebase. Libtool makes adjustments for other types of platforms. And this is just

Re: libtool automake android pthread

2012-04-03 Thread Bob Friesenhahn
On Tue, 3 Apr 2012, Gerry Reno wrote: Hi Bob. I think it's more of an issue that Android does not need an external pthread library. These projects all compiled and linked fine on Linux. But when you try to link them using Android you get the error I showed above. The error is correct becau

Re: libtool automake android pthread

2012-04-03 Thread Bob Friesenhahn
On Tue, 3 Apr 2012, greno wrote: When I try to build existing GNU toolchain projects using the Android and NDK sometimes I run into problems with pthread. I get errors like this: ../../arm-linux-androideabi/bin/ld: cannot find -lpthread Is there a switch to libtool to would ignore -lpthread if

libtool automake android pthread

2012-04-03 Thread greno
When I try to build existing GNU toolchain projects using the Android and NDK sometimes I run into problems with pthread. I get errors like this: ../../arm-linux-androideabi/bin/ld: cannot find -lpthread Is there a switch to libtool to would ignore -lpthread if it is found since Android alread