Re: Fun with libtool and cross-builds

2011-02-27 Thread Enrico Weigelt
* Loïc Minier schrieb: > On Thu, Feb 10, 2011, Wookey wrote: > > Loic Minier in October last year, to libtool list > > http://thread.gmane.org/gmane.comp.gnu.libtool.bugs/7626 > > (response: yes that seems to be a bug, no time to fix now, does sysroot > > option fix it? 'Not for me' said lool) >

Re: Fun with libtool and cross-builds

2011-02-26 Thread Enrico Weigelt
* Simon Josefsson schrieb: > Wookey writes: > > > At this points it calls the linker and adds -L/usr/lib on the front - > > thereby adding this path in front of the default cross-compiler path. > > Please try to debug where the -L/usr/lib comes from, I don't believe > libtool is adding this by

Re: Fun with libtool and cross-builds

2011-02-10 Thread Loïc Minier
On Thu, Feb 10, 2011, Wookey wrote: > Loic Minier in October last year, to libtool list > http://thread.gmane.org/gmane.comp.gnu.libtool.bugs/7626 > (response: yes that seems to be a bug, no time to fix now, does sysroot > option fix it? 'Not for me' said lool) FTR, I just tried libtool.git, and

Fun with libtool and cross-builds

2011-02-10 Thread Wookey
[This was also posted to debian-devel but I got the linaro addesss wrong: http://lists.debian.org/debian-devel/2011/02/msg00196.html] Libtool is intended to make library linking 'just work' whatever the details of your build mechanisms are. However in Debian/Ubuntu cross-building it seems to go

Re: Fun with libtool and cross-builds

2011-02-10 Thread Tollef Fog Heen
]] Shachar Shemesh | The only real solution I see for this is for libtool to have specific | support for linking against DESTDIR installed libraries (maybe make it | respect DESTDIR if it's defined during the build? That could be a | solution that is both easy to understand and simple to integrat

Re: Fun with libtool and cross-builds

2011-02-10 Thread Shachar Shemesh
On 09/02/11 22:10, Simon Josefsson wrote: Please try to debug where the -L/usr/lib comes from, I don't believe libtool is adding this by itself but instead it is told to add it by some incorrect .la file or similar. This is from memory, as I also ran into the same problem. The problem is,

Re: Fun with libtool and cross-builds

2011-02-09 Thread Simon Josefsson
Wookey writes: > At this points it calls the linker and adds -L/usr/lib on the front - > thereby adding this path in front of the default cross-compiler path. Please try to debug where the -L/usr/lib comes from, I don't believe libtool is adding this by itself but instead it is told to add it by

Fun with libtool and cross-builds

2011-02-09 Thread Wookey
Libtool is intended to make library linking 'just work' whatever the details of your build mechanisms are. However in Debian/Ubuntu cross-building it seems to go out of its way to make it not-work. The problem is papered-over when using i386 machines, or amd64 machines and a new-enough (or old en