I'm trying to build programs for Windows from Ubuntu Linux using mingw32 (i586-mingw32msvc). I've installed mingw32 successfully but when I try to compile programs like GnuTLS, bash, lynx etc with the command
I receive errors like
pcre-config not found checking for openssl... no curses header not found.
and many more
They are installed in Ubuntu but are missing from i586-mingw32msvc (/include, /lib). How do I install those packages in i586-mingw32msvc.