Ralf Wildenhues wrote:

> We may need to think about speeding up func_to_host_path, e.g., by not
> forking for arguments that don't need conversion, or by converting
> several paths with a constant amount of forks.  But that can be done
> separately.

FWIW, as part of re-writing this:
[PATCH] [cygwin]: Add cross-compile support to cwrapper
http://lists.gnu.org/archive/html/libtool-patches/2009-01/msg00006.html
I plan to split up the various case $host/case $build clauses in the
func_to_host_path functions into separate functions. Then, using a
configure test determine which function should be called via a libtool
variable $build_to_host_path_cmd and $build_to_host_pathlist_cmd.

The default value will be a function that simply assigns
build_to_host_path_result=$1

Then, we can target specific functions for speedups as needed.

Ok plan?

--
Chuck


Reply via email to