From: Stephen L. <ste...@st...> - 2014-04-29 09:33:01
|
I'm trying to build monotone using MinGW64. monotone is written in C++, so it requires the g++ compiler. In msys2, 'pacman -Ss g++' returns no results, so it appears g++ has not yet been packaged for msys2; is this correct? The other option is to use MinGW64, which does provide g++. However, the MinGW64 compiler does not support Msys2 symlinks. Several of the packages required by monotone use symlinks (when supported) in the build process. 'configure' recognizes that msys2 supports symlinks, and it assumes that 'gcc' does as well. The dependent packages don't need g++, so I could compile them with msys2 gcc. However, I'm worried about compatibility of the two runtimes. MinGW64 offers several options for the runtime; which ones were used for the msys2 version? My current workaround is to run configure in msys2, which defines "LN_S = ln -s" in the generated Makefile, then edit that to "LN_S = cp -pR", then compile with MinGW64 gcc. Is there a better way? -- -- Stephe |