[PATCH 0/2] sysroot patches followup

2010-08-11 Thread Paolo Bonzini
Hi, I pushed the first 8 sysroot patches to refs/heads/sysroot on Savannah. Here come the (prototype of) the patches that implement --mode=finish, to be used when moving a cross-compiled .la file to native. I'll try to write next week the documentation for sysroot support in general. Given

[PATCH 2/2] add libtool --mode=finish mode for sysroot

2010-08-11 Thread Paolo Bonzini
--- doc/libtool.texi | 17 + libltdl/config/ltmain.m4sh | 20 2 files changed, 33 insertions(+), 4 deletions(-) diff --git a/doc/libtool.texi b/doc/libtool.texi index 914bd1d..5b21a32 100644 --- a/doc/libtool.texi +++ b/doc/libtool.texi @@

Re: [PATCH 1/2] reorganize parsing of --mode=finish arguments

2010-08-11 Thread Charles Wilson
On 8/12/2010 12:12 AM, Paolo Bonzini wrote: * libltdl/config/ltmain.m4sh (func_mode_finish): Split arguments for directories and *.la files. Add .la files for all directories. --- libltdl/config/ltmain.m4sh | 117 ++-- 1 files changed, 70

Re: [PATCH 2/2] add libtool --mode=finish mode for sysroot

2010-08-11 Thread Charles Wilson
On 8/12/2010 12:12 AM, Paolo Bonzini wrote: + sed -e ${sysroot_cmd} s/\([ ']-[LR]\)=/\1/g $lib $tmpdir/tmp-la Hmmm. Some of the test cases end up with dependency_libs like this: dependency_libs=' -L=/mingw/lib =/mingw/lib/lib1.la' This rule will catch the first element, but not the