From: Benjamin M. <bm...@WP...> - 2007-09-22 19:25:26
|
Hi all, A few problems come up when cross-compiling the Windows version of libticables2 1.0.8: (1) The src/win64 directory isn't in the distribution! (2) build/mingw/Makefile* and src/win32/dha/Makefile* expect to find a program called "windres". Obviously this doesn't work when cross-compiling. The name of the program should instead be determined by configure using e.g. AC_CHECK_TOOL. (3) the following needed to be changed: --- libticables2-1.0.8-orig/src/win32/link_gry.c 2006-11-06 12:08:45.000000000 -0500 +++ libticables2-1.0.8/src/win32/link_gry.c 2007-09-22 14:03:06.000000000 -0400 @@ -165,7 +165,7 @@ if (hCom) { CloseHandle(hCom); - hCom = INVALID_HANDLE_VALUE; + h->priv = INVALID_HANDLE_VALUE; free(h->priv2); h->priv2 = NULL; Benjamin |