On Mon, 9 Feb 2004, Jari Aalto+mail.linux wrote:

> I'm porting xboard, which contains dependencies
>
>   h:\unix-root\u\bin\cygwin1.dll
>     G:\WINNT\system32\ADVAPI32.DLL
>       G:\WINNT\system32\NTDLL.DLL
>       G:\WINNT\system32\KERNEL32.DLL
>       G:\WINNT\system32\RPCRT4.DLL
>   h:\unix-root\u\usr\X11R6\bin\cygX11-6.dll
>     h:\unix-root\u\bin\cygcygipc-2.dll
>   h:\unix-root\u\usr\X11R6\bin\cygXaw-7.dll
>     h:\unix-root\u\usr\X11R6\bin\cygXext-6.dll
>     h:\unix-root\u\usr\X11R6\bin\cygXmu-6.dll
>       h:\unix-root\u\usr\X11R6\bin\cygXt-6.dll
>         h:\unix-root\u\usr\X11R6\bin\cygICE-6.dll
>         h:\unix-root\u\usr\X11R6\bin\cygSM-6.dll
>     h:\unix-root\u\usr\X11R6\bin\cygXpm-4.dll
>
> I'm not sure what dependencies I should list in setup.hint and
> in xboard.README. I was thinking about:
>
>     requires: cygwin cygipc xfree86-base
>
> Jari

Jari,

Try running 'cygcheck -f' on the POSIX path to each of the DLLs listed by
cygcheck.  In fact, I've posted the following in the past, which should
work for you:

find .inst -name '*.exe' | xargs cygcheck | sed -e '/\.exe/d' -e 's,\\,/,g' | sort -bu 
| xargs -n1 cygpath -u | xargs cygcheck -f

The above should find all the external dependences for the executables in
your package.  If you're providing a run-time library, you'll need to also
include '*.dll' in the find command (ditto for '*.bin', as in TeXmacs).
Also, dependences resulting from scripts aren't detected by the above.
        Igor
-- 
                                http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_                [EMAIL PROTECTED]
ZZZzz /,`.-'`'    -.  ;-;;,_            [EMAIL PROTECTED]
     |,4-  ) )-,_. ,\ (  `'-'           Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL     a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

Reply via email to