Displaying 5 results from an estimated 5 matches for "link_libnbdkit_on_windows".
2020 Aug 18
0
[PATCH nbdkit 2/9] build: On Windows only, link all plugins and filters with -lnbdkit.
...ns(+), 17 deletions(-)
diff --git a/configure.ac b/configure.ac
index 84e50e72..1ac0eab7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -457,11 +457,13 @@ AS_CASE([$host_os],
[mingw*|msys*|cygwin*], [
is_windows=yes
NO_UNDEFINED_ON_WINDOWS="-no-undefined"
+ LINK_LIBNBDKIT_ON_WINDOWS='$(top_builddir)/server/libnbdkit.la'
],
[is_windows=no]
)
AC_MSG_RESULT([$is_windows])
AC_SUBST([NO_UNDEFINED_ON_WINDOWS])
+AC_SUBST([LINK_LIBNBDKIT_ON_WINDOWS])
AC_SEARCH_LIBS([getaddrinfo], [network socket])
diff --git a/filters/blocksize/Makefile.am b/filters/blocksize...
2020 Aug 18
15
[PATCH nbdkit 0/9] Port to Windows.
Also available here:
https://github.com/rwmjones/nbdkit/tree/2020-windows-mingw
This is the port to Windows using native Windows APIs (not MSYS or
Cygwin).
This patch series is at the point where it basically now works. I can
run the server with the memory plugin, and access it remotely using
guestfish, creating filesystems and so on without any apparent
problems.
Nevertheless there are many
2020 Aug 18
1
Re: [PATCH nbdkit 2/9] build: On Windows only, link all plugins and filters with -lnbdkit.
On 8/18/20 5:50 AM, Richard W.M. Jones wrote:
> ---
> +++ b/configure.ac
> @@ -457,11 +457,13 @@ AS_CASE([$host_os],
> [mingw*|msys*|cygwin*], [
> is_windows=yes
> NO_UNDEFINED_ON_WINDOWS="-no-undefined"
> + LINK_LIBNBDKIT_ON_WINDOWS='$(top_builddir)/server/libnbdkit.la'
Cygwin supports linking with undefined symbols, but it does add some
redirection overhead, so I don't see a problem in including Cygwin with
native windows for this case. But we may need to later distinguish
between Cygwin and native windows fo...
2020 Aug 18
1
Re: [PATCH nbdkit 3/9] server: Add general replacements for missing functions using LIBOBJS.
...en by me
>
> This should do nothing on existing supported platforms. It is only
> intended in preparation for porting nbdkit to Windows.
> ---
> @@ -464,6 +475,15 @@ AS_CASE([$host_os],
> AC_MSG_RESULT([$is_windows])
> AC_SUBST([NO_UNDEFINED_ON_WINDOWS])
> AC_SUBST([LINK_LIBNBDKIT_ON_WINDOWS])
> +AM_CONDITIONAL([IS_WINDOWS],[test "x$is_windows" = "xyes"])
> +
> +dnl For Windows, look for the mc/windmc utility.
> +dnl XXX Do we need to check for mc.exe as well?
> +AS_IF([test "x$is_windows" = "xyes"],[
> + AC_CHECK_TOOLS([MC],...
2020 Aug 18
0
[PATCH nbdkit 3/9] server: Add general replacements for missing functions using LIBOBJS.
...+ strndup \
+ syslog \
+ vsyslog])
+
dnl Check whether printf("%m") works
AC_CACHE_CHECK([whether the printf family supports %m],
[nbdkit_cv_func_printf_percent_m],
@@ -464,6 +475,15 @@ AS_CASE([$host_os],
AC_MSG_RESULT([$is_windows])
AC_SUBST([NO_UNDEFINED_ON_WINDOWS])
AC_SUBST([LINK_LIBNBDKIT_ON_WINDOWS])
+AM_CONDITIONAL([IS_WINDOWS],[test "x$is_windows" = "xyes"])
+
+dnl For Windows, look for the mc/windmc utility.
+dnl XXX Do we need to check for mc.exe as well?
+AS_IF([test "x$is_windows" = "xyes"],[
+ AC_CHECK_TOOLS([MC],[windmc mc],[no])
+ AS_IF([...