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
1 Hello fellow Gentoo devs!
2
3 As some of you may already know, in Prefix we are able to build native
4 Win32 binaries using the Visual Studio toolchain, nowadays driven by
5 Prefix on Cygwin as the build environment, using sys-devel/parity to
6 have a gcc like commandline interface for cl.exe, link.exe and others.
7
8 For example, in sys-libs/zlib the Makefile for Linux does work without
9 modification to create the native Win32 library, even if the library
10 file name does not match the Win32 library naming scheme.
11
12 On the other hand, one would expect libtool to create libraries having
13 proper Win32 naming scheme.
14
15 Fortunately, parity does provide libtool patches already[1], but because
16 parity itself is not widely recognized yet, they are unlikely to be
17 accepted upstream right now. Beyond that, some of the unrelated but
18 required patches are submitted upstream, but without response so far.
19
20 As this native Win32 support is considered highly experimental still, I
21 would like to apply the libtool patches for parity via elibtoolize only,
22 without applying them in sys-devel/libtool itself yet.
23
24 WDYT?
25
26 [1] https://github.com/mduft/parity/tree/master/parity.patches
27
28 Thanks!
29 /haubi/

Replies