Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

building zsh on windows 7 with cygwin 1.7.1(0.218/5/3)




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?



Messages sorted by: Reverse Date, Date, Thread, Author