Gentoo Archives: gentoo-dev

From: haubi@g.o
To: gentoo-dev@l.g.o
Cc: haubi@g.o
Subject: [gentoo-dev] [PATCH 0/4] elt-patches: support wrapped Win32 MSVC toolchain
Date: Thu, 12 Mar 2020 08:06:40
Message-Id: 20200312080626.5163-1-haubi@gentoo.org
Hello fellow Gentoo devs!

As some of you may already know, in Prefix we are able to build native
Win32 binaries using the Visual Studio toolchain, nowadays driven by
Prefix on Cygwin as the build environment, using sys-devel/parity to
have a gcc like commandline interface for cl.exe, link.exe and others.

For example, in sys-libs/zlib the Makefile for Linux does work without
modification to create the native Win32 library, even if the library
file name does not match the Win32 library naming scheme.

On the other hand, one would expect libtool to create libraries having
proper Win32 naming scheme.

Fortunately, parity does provide libtool patches already[1], but because
parity itself is not widely recognized yet, they are unlikely to be
accepted upstream right now.  Beyond that, some of the unrelated but
required patches are submitted upstream, but without response so far.

As this native Win32 support is considered highly experimental still, I
would like to apply the libtool patches for parity via elibtoolize only,
without applying them in sys-devel/libtool itself yet.

WDYT?

[1] https://github.com/mduft/parity/tree/master/parity.patches

Thanks!
/haubi/

Replies