This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: [ITA] nano package
On Mon, 17 Dec 2007, Yaakov (Cygwin Ports) wrote:
> Lapo Luchini wrote:
> > PS: AFAIR the g-b-s' "deps" target lists them all, but cygport's "dep"
> > does not.
>
> The g-b-s deps check was based on cygcheck, which shows the entire
> dependency tree, where cygport uses objdump, which lists only those that
> the binary is linked against. The latter option can sometimes be slower
> (*cough*KDE*cough*), but is much more accurate.
By default, cygcheck eliminates duplicates in the list of DLL
dependencies, even if they previously appeared at a deeper level of
dependency nesting. Adding the -v option causes it to list all
dependencies without eliminating duplicates (except that there is a bug
that causes the following line:
Warning: C:/cygwin/bin\cygreadline6.dll hides C:\cygwin\bin\cygreadline6.dll
to be repeated quite a few times, but that's something to be fixed
separately). So, the solution would be to use "cygcheck -v program" in
the g-b-s based scripts and to select from the output lines with exactly
two leading spaces.
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu | igor@watson.ibm.com
ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!)
|,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"That which is hateful to you, do not do to your neighbor. That is the whole
Torah; the rest is commentary. Go and study it." -- Rabbi Hillel