libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cygwin: need to use the correct 'head.exe'


From: Robert Boehne
Subject: Re: cygwin: need to use the correct 'head.exe'
Date: Sun, 16 Mar 2003 18:50:41 -0600

Approved and checked in to CVS head.

Thanks!

Charles Wilson wrote:
> 
> 2nd attempt -- this time, simply use $SED -e '10q' instead of
> $HEAD/head.  Problem solved; $SED is just as fast, by my non-scientific
> tests, as head.
> 
> --Chuck
> 
>   ------------------------------------------------------------------------
> 2003-03-12  Charles Wilson  <address@hidden>
> 
>         * ltmain.in (win32_libid): use $SED, not head.
> 
>   ------------------------------------------------------------------------
> Index: ltmain.in
> ===================================================================
> RCS file: /cvsroot/libtool/libtool/ltmain.in,v
> retrieving revision 1.326
> diff -u -r1.326 ltmain.in
> --- ltmain.in   28 Feb 2003 15:27:35 -0000      1.326
> +++ ltmain.in   13 Mar 2003 06:57:01 -0000
> @@ -129,7 +129,7 @@
>      win32_libid_type="x86 archive import"
>      ;;
>    *ar\ archive*) # could be an import, or static
> -    if eval $OBJDUMP -f $1 | head -n 10 2>/dev/null | \
> +    if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \
>        grep -E 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
>        win32_nmres=`eval $NM -f posix -A $1 | \
>          sed -n -e '1,100{/ I /{x;/import/!{s/^/import/;h;p;};x;}}'`
> 
>   ------------------------------------------------------------------------
> _______________________________________________
> Libtool-patches mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/libtool-patches




reply via email to

[Prev in Thread] Current Thread [Next in Thread]