Comment 7 for bug 1748659

Revision history for this message
Dimitri John Ledkov (xnox) wrote : Re: [Bug 1748659] Re: Windows 10 Ubuntu 16.04 upgrade to 18.04: package systemd 235-3ubuntu3 failed to install/upgrade: installed systemd package post-installation script subprocess returned error exit status 1

Hey,

On 10 February 2018 at 21:34, Sjors <email address hidden> wrote:
> Current instructions for reference:
> https://github.com/bitcoin/bitcoin/blob/master/doc/build-windows.md
>
> Maybe a Virtual Box on Windows would be an alternative.
>

You do not need windows at all to cross-compile..... the instruction
is to use cross-compilation on Ubuntu, to generate binaries that you
can use on Windows.
(They choose to use Ubuntu WSL, because they assume the host machine
is windows instead of Mac OS X, but you already have virtualbox so
install Ubuntu there)

You can use Ubuntu in a VirtualBox on MacOSX to do the cross
compilation, copy the binaries out of that VM, into the Windows 10 VM
to use them.

Or you could install mingw-w64 toolchain on mac os x -> e.g. using Homebrew.

You simply need *nix like environment with a mingw-w64 toolchain, of
which any Ubuntu or Homebrew should do.

Also they never ask you to _upgrade_ to 18.04, you should be able to
simply use the Ubuntu WSL app directly, without upgrading it to a new
release.

--
Regards,

Dimitri.