This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ITP] rdiff/librsync 0.9.1 - rsync remote delta algorithm


On Tue, 4 Mar 2008, Jari Aalto wrote:

> * Mon 2008-03-03 David Rothenberger <daveroth-HInyCGIudOg@XXXXXX.XXXXX.XXX>

Umm, <http://cygwin.com/acronyms/#PCYMTNQREAIYR>...  Thanks.

> > On 3/3/2008 12:54 PM, Dr. Volker Zell wrote:
> >
> >>     > requires: cygwin libpopt0
> >>
> >> This doesn't seem to depend on libpopt0
> >
> > /usr/lib/librsync.la lists as dependency_libs:
> > /usr/lib/libpopt.la -lbz2 -lz. So, what should the dependencies be?
>
> It's a bit tricky. You can use:
>
>     $ cygcheck usr/bin/cygrsync-1.dll
>     usr/bin/cygrsync-1.dll
> !     D:\cygwin\bin\cygwin1.dll
>         C:\WINNT\system32\ADVAPI32.DLL
>           C:\WINNT\system32\NTDLL.DLL
>           C:\WINNT\system32\KERNEL32.DLL
>           C:\WINNT\system32\RPCRT4.DLL
>
> Where the toplevel (!) is the only dependency.

That won't quite work.  The problem is that if some dependency is both
top-level AND transitive, and the transitive one happens to be encountered
earlier, cygcheck will not (by default) output the top-level one.  So, if
you see

$ cygcheck foo.exe
foo.exe
  bar.dll
    baz.dll

That does not mean that foo.exe does not depend on baz.dll.

You can probably use

$ cygcheck -v foo.exe
foo.exe
  bar.dll
    baz.dll
  baz.dll (already done)

to make sure, but the output does tend to be rather verbose...
	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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]