Re: [PATCH v6 3/3] Allow to build and run sign/digest on Windows

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 21 Dec 2020 at 23:53, Eric Biggers <ebiggers@xxxxxxxxxx> wrote:
>
> On Mon, Dec 21, 2020 at 11:24:28PM +0000, Luca Boccassi wrote:
> > +### Building on Windows
> > +
> > +There is minimal support for building Windows executables using MinGW.
> > +```bash
> > +    make CC=x86_64-w64-mingw32-gcc-win32
> > +```
> > +
> > +`fsverity.exe` will be built, and it supports the `digest` and `sign` commands.
> > +
> > +A Windows build of OpenSSL/libcrypto needs to be available.
>
> For me "CC=x86_64-w64-mingw32-gcc-win32" doesn't work; I need
> "x86_64-w64-mingw32-gcc" instead.  Is this difference intentional?
>
> - Eric

It's a distro setup difference I think, on Debian
x86_64-w64-mingw32-gcc is a symlink to x86_64-w64-mingw32-gcc-win32:

$ ls -l /usr/bin/x86_64-w64-mingw32-gcc-win32
-rwxr-xr-x 2 root root 1160320 Nov 27 05:57
/usr/bin/x86_64-w64-mingw32-gcc-win32
$ ls -l /usr/bin/x86_64-w64-mingw32-gcc
lrwxrwxrwx 1 root root 40 Sep 27 18:41 /usr/bin/x86_64-w64-mingw32-gcc
-> /etc/alternatives/x86_64-w64-mingw32-gcc
$ ls -l /etc/alternatives/x86_64-w64-mingw32-gcc
lrwxrwxrwx 1 root root 37 Sep 27 18:44
/etc/alternatives/x86_64-w64-mingw32-gcc ->
/usr/bin/x86_64-w64-mingw32-gcc-win32

Kind regards,
Luca Boccassi



[Index of Archives]     [linux Cryptography]     [Asterisk App Development]     [PJ SIP]     [Gnu Gatekeeper]     [IETF Sipping]     [Info Cyrus]     [ALSA User]     [Fedora Linux Users]     [Linux SCTP]     [DCCP]     [Gimp]     [Yosemite News]     [Deep Creek Hot Springs]     [Yosemite Campsites]     [ISDN Cause Codes]

  Powered by Linux