On Wed, 6 Jul 2005, James R. Phillips wrote:
> --- Corinna Vinschen wrote:
> > Your setup.hint "requires" isn't quite what I'd expect. Rather than
> > just giving "readline" as dependency, which pulls in 2 versions of
> > libreadline and 2 versions of libncurses, could you please be more
> > specific and give the exact dependencies your package needs, as,
> > e.g. libreadline6 and libncurses8?
>
> OK, renamed all dlls to *.bak, and found only libreadline6 is actually
> required.
Eric already mentioned cygcheck for this.
> In building the program, the gcc linker commands use the flag
> "-lreadline". Since both static and dynamic readline link libraries are
> present in /lib, apparently the linker prefers the dynamic library,
> ending in .dll.a. Is this a correct understanding of gcc on cygwin?
Yes, unless the library is explicitly specified or the -non_shared
(-static) flag is used.
> BTW, this program was compiled with gcc 3.3.3, and doesn't build
> properly under cygwin gcc 3.4.4 (segfaults on load). Should those facts
> be noted in the README?
Definitely yes.
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!
"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT