Re: --with-sysroot conflicts in binutils and gcc

2010-10-23 Thread Paolo Bonzini
> I have renamed the libtool --with-sysroot to --with-libtool-sysroot > for experments to avoid the conflict > and it worked well for me. > > See the patch here. > > http://git.openembedded.org/cgit.cgi/openembedded/tree/recipes/libtool/libtool-2.4/rename-with-sysroot.patch > > I guess thats not be

Re: --with-sysroot conflicts in binutils and gcc

2010-10-23 Thread Khem Raj
On Sat, Oct 23, 2010 at 1:27 AM, Paolo Bonzini wrote: > On 10/23/2010 10:01 AM, Ralf Wildenhues wrote: >> >> Hi Paolo, >> >> * Paolo Bonzini wrote on Sat, Oct 23, 2010 at 09:38:43AM CEST: >>> >>> Also, libtool should probably ignore --with-sysroot if build==host; >>> native compilers are never bui

Re: --with-sysroot conflicts in binutils and gcc

2010-10-23 Thread Ralf Wildenhues
* Paolo Bonzini wrote on Sat, Oct 23, 2010 at 10:27:19AM CEST: > On 10/23/2010 10:01 AM, Ralf Wildenhues wrote: > >* Paolo Bonzini wrote on Sat, Oct 23, 2010 at 09:38:43AM CEST: > >>Also, libtool should probably ignore --with-sysroot if build==host; > >>native compilers are never build with a sysro

Re: --with-sysroot conflicts in binutils and gcc

2010-10-23 Thread Paolo Bonzini
On 10/23/2010 10:01 AM, Ralf Wildenhues wrote: Hi Paolo, * Paolo Bonzini wrote on Sat, Oct 23, 2010 at 09:38:43AM CEST: Also, libtool should probably ignore --with-sysroot if build==host; native compilers are never build with a sysroot in practice. OK, so this would mean there is no way --wit

Re: undefined reference error

2010-10-23 Thread Ralf Wildenhues
Hello Sergio, * Sergio Belkin wrote on Wed, Oct 20, 2010 at 05:08:51PM CEST: > I have a project that is a library that links against libresolv, > It works fine on recent distros: Ubuntu 10.x Fedora 13, Mandriva > 2010.1 but on Centos 5.x I get the following errors > > g++ -DHAVE_CONFIG_H -I. -I

Re: --with-sysroot conflicts in binutils and gcc

2010-10-23 Thread Ralf Wildenhues
Hi Paolo, * Paolo Bonzini wrote on Sat, Oct 23, 2010 at 09:38:43AM CEST: > Also, libtool should probably ignore --with-sysroot if build==host; > native compilers are never build with a sysroot in practice. OK, so this would mean there is no way --with-sysroot could be (ab)used to fix the DESTDIR

Re: --with-sysroot conflicts in binutils and gcc

2010-10-23 Thread Paolo Bonzini
On 10/21/2010 10:23 PM, Khem Raj wrote: > toolchain has two options when it comes to sysroot --with-sysroot and > --with-build-sysroot I think libtool should > also differentiate between two and set both to same if not explicitly > set during configure time. I think libtool > means to use build tim

Re: --with-sysroot conflicts in binutils and gcc

2010-10-23 Thread Ralf Wildenhues
Hello Khem, * Khem Raj wrote on Thu, Oct 21, 2010 at 10:23:51PM CEST: > When building gcc and binutils in a cross environment there is a > conflict with respect to --with-sysroot libtool 2.4 expects > --with-sysroot on configure options to use sysroot which is fine now > the build time sysroot and

Re: libtool-2.2.10: print vs. printf

2010-10-23 Thread Ralf Wildenhues
Hello Markus, * Markus Duft wrote on Fri, Oct 22, 2010 at 09:59:27AM CEST: > I have a question: In the new libtool, $ECHO is checked for in > libtool.me, preferring print over printf over a fallback echo. Now, on > interix, i have a KSH as /bin/sh which has print builtin, and thus > configure choo