zsh-users
 help / color / mirror / code / Atom feed
* building zsh on windows 7 with cygwin 1.7.1(0.218/5/3)
@ 2010-03-14  0:37 S. Cowles
  0 siblings, 0 replies; only message in thread
From: S. Cowles @ 2010-03-14  0:37 UTC (permalink / raw)
  To: zsh-users


When I build current zsh sources on Windows 7 with cygwin 
1.7.1(0.218/5/3), the build fails at Modules/curses.c.  The command issued 
by the makefile is:

gcc -s -shared -Wl,--export-all-symbols -o curses.dll curses..o 
../../Src/libzsh-4.3.10-dev-1.dll -lgdbm -L/usr/lib -lpcre -liconv -ldl 
-lncurses

If I modify the link command for curses.dll to include the ncursesw 
library, the build proceeds to completion:

gcc -s -shared -Wl,--export-all-symbols -o curses.dll curses..o 
../../Src/libzsh-4.3.10-dev-1.dll -lgdbm -L/usr/lib -lpcre -liconv -ldl 
-lncurses -lncursesw


The LIBS value defined in zsh/Src/Modules/Makefile is:

LIBS = -lgdbm -L/usr/lib -lpcre -liconv -ldl -lncursesw -lm -lc

Yet, the value used in the link line is:

-lgdbm -L/usr/lib -lpcre -liconv -ldl -lncurses

I have not yet discovered where/when the definition changes.  Has anyone 
else seen a similar error?


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-03-14  0:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-14  0:37 building zsh on windows 7 with cygwin 1.7.1(0.218/5/3) S. Cowles

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).