profiles: new arch and profile for x64-winnt
authorMichael Haubenwallner <haubi@gentoo.org>
Tue, 10 Mar 2020 14:28:48 +0000 (15:28 +0100)
committerMichael Haubenwallner <haubi@gentoo.org>
Wed, 11 Mar 2020 08:10:51 +0000 (09:10 +0100)
New profile prefix/windows/winnt/x64, for new ARCH=x64-winnt.

This profile is designed for use as Stacked Prefix, set up using
prefix-stack-setup (app-portage/prefix-toolkit) from with a Cygwin
Prefix (Guest only), having sys-devel/parity installed (wraps MSVC).

CHOST is left unset on purpose.  It is set by prefix-stack-setup
using some --chost=x86_64-msvc16-winnt argument, selecting the
Visual Studio version and runtime variant (static|debug) to use.

Adding same comments to prefix/windows/winnt/x86 profile as well.

Signed-off-by: Michael Haubenwallner <haubi@gentoo.org>
profiles/arch.list
profiles/arch/base/make.defaults
profiles/embedded/make.defaults
profiles/prefix/windows/winnt/x64/eapi [new file with mode: 0644]
profiles/prefix/windows/winnt/x64/make.defaults [new file with mode: 0644]
profiles/prefix/windows/winnt/x64/parent [new file with mode: 0644]
profiles/prefix/windows/winnt/x86/make.defaults
profiles/profiles.desc

index b9a9c022c007a29d955b980552171a64f5cae108..d44231f28c359865acd7667d52b1c4d78e2ba53f 100644 (file)
@@ -29,6 +29,7 @@ sparc-solaris
 sparc64-solaris
 x64-solaris
 x86-solaris
+x64-winnt
 x86-winnt
 x64-cygwin
 x86-cygwin
index 5dc717cefd49531ede35a44a33cad852e2e76ba1..81f92b89ebe552415741d994fcf6e67f37d5098e 100644 (file)
@@ -3,6 +3,6 @@
 
 USE_EXPAND_UNPREFIXED="ARCH"
 USE_EXPAND_IMPLICIT="ARCH"
-USE_EXPAND_VALUES_ARCH="alpha amd64 amd64-fbsd amd64-linux arm arm64 hppa ia64 m68k m68k-mint mips ppc ppc64 ppc64-linux ppc-aix ppc-macos riscv s390 sh sparc sparc64-solaris sparc-solaris x64-cygwin x64-macos x64-solaris x86 x86-cygwin x86-fbsd x86-linux x86-macos x86-solaris x86-winnt"
+USE_EXPAND_VALUES_ARCH="alpha amd64 amd64-fbsd amd64-linux arm arm64 hppa ia64 m68k m68k-mint mips ppc ppc64 ppc64-linux ppc-aix ppc-macos riscv s390 sh sparc sparc64-solaris sparc-solaris x64-cygwin x64-macos x64-solaris x64-winnt x86 x86-cygwin x86-fbsd x86-linux x86-macos x86-solaris x86-winnt"
 
 PROFILE_ONLY_VARIABLES="${PROFILE_ONLY_VARIABLES} ARCH USE_EXPAND_VALUES_ARCH"
index 601d31cd84a5f8161ca05eca65e0dc7314a02025..c6dc06a3c23b9fdf084f0fc2cf8a5791ffb85edf 100644 (file)
@@ -23,7 +23,7 @@ LINGUAS="en"
 IUSE_IMPLICIT="prefix prefix-guest prefix-stack"
 USE_EXPAND_UNPREFIXED="ARCH"
 USE_EXPAND_IMPLICIT="ARCH ELIBC KERNEL USERLAND"
-USE_EXPAND_VALUES_ARCH="alpha amd64 amd64-fbsd amd64-linux arm arm64 hppa ia64 m68k m68k-mint mips ppc ppc64 ppc64-linux ppc-aix ppc-macos s390 sh sparc sparc64-solaris sparc-solaris x64-cygwin x64-macos x64-solaris x86 x86-cygwin x86-fbsd x86-linux x86-macos x86-solaris x86-winnt"
+USE_EXPAND_VALUES_ARCH="alpha amd64 amd64-fbsd amd64-linux arm arm64 hppa ia64 m68k m68k-mint mips ppc ppc64 ppc64-linux ppc-aix ppc-macos s390 sh sparc sparc64-solaris sparc-solaris x64-cygwin x64-macos x64-solaris x64-winnt x86 x86-cygwin x86-fbsd x86-linux x86-macos x86-solaris x86-winnt"
 USE_EXPAND_VALUES_ELIBC="AIX bionic Cygwin Darwin DragonFly FreeBSD glibc HPUX Interix mingw mintlib musl NetBSD OpenBSD SunOS uclibc Winnt"
 USE_EXPAND_VALUES_KERNEL="AIX Darwin FreeBSD freemint HPUX linux NetBSD OpenBSD SunOS Winnt"
 USE_EXPAND_VALUES_USERLAND="BSD GNU"
diff --git a/profiles/prefix/windows/winnt/x64/eapi b/profiles/prefix/windows/winnt/x64/eapi
new file mode 100644 (file)
index 0000000..7ed6ff8
--- /dev/null
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/windows/winnt/x64/make.defaults b/profiles/prefix/windows/winnt/x64/make.defaults
new file mode 100644 (file)
index 0000000..1200225
--- /dev/null
@@ -0,0 +1,28 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# This profile is designed for use as Stacked Prefix, set up using
+# prefix-stack-setup (app-portage/prefix-toolkit) from with a Cygwin
+# Prefix (Guest only), having sys-devel/parity installed (wraps MSVC).
+#
+# CHOST is left unset on purpose.  It is set by prefix-stack-setup
+# using some --chost=x86_64-msvc16-winnt argument, selecting the
+# Visual Studio version and runtime variant (static|debug) to use.
+#
+# Sample CHOST values for the runtime variant using x64 Visual Studio 2019,
+# as provided by parity-2.0.0 (multithreaded only):
+# x86_64-msvc16-winnt    dynamic runtime       (cl.exe /MD  for MSVCRT.DLL)
+# x86_64-msvcd16-winnt   dynamic debug runtime (cl.exe /MDd for MSVCRTD.DLL)
+# x86_64-libcmt16-winnt  static runtime        (cl.exe /MT  for LIBCMT.LIB)
+# x86_64-libcmtd16-winnt static debug runtime  (cl.exe /MTd for LIBCMTD.LIB)
+#
+
+ARCH="x64-winnt"
+ACCEPT_KEYWORDS="~x64-winnt"
+
+# multilib build stuff, single ABI (no multilib)
+MULTILIB_ABIS="amd64"
+DEFAULT_ABI="amd64"
+ABI="amd64"
+IUSE_IMPLICIT="abi_x86_64"
+LIBDIR_amd64="lib"
diff --git a/profiles/prefix/windows/winnt/x64/parent b/profiles/prefix/windows/winnt/x64/parent
new file mode 100644 (file)
index 0000000..f3229c5
--- /dev/null
@@ -0,0 +1 @@
+..
index 3c45b788d1606f0936324ce731d335143bc178fd..0c11ef592e9cec7f180774b40dd87218401f5383 100644 (file)
@@ -1,6 +1,22 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2010 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
+# This profile is designed for use as Stacked Prefix, set up using
+# prefix-stack-setup (app-portage/prefix-toolkit) from with a Cygwin
+# Prefix (Guest only), having sys-devel/parity installed (wraps MSVC).
+#
+# CHOST is left unset on purpose.  It is set by prefix-stack-setup
+# using some --chost=i686-msvc16-winnt argument, selecting the
+# Visual Studio version and runtime variant (static|debug) to use.
+#
+# Sample CHOST values for the runtime variant using x86 Visual Studio 2019,
+# as provided by parity-2.0.0 (multithreaded only):
+# i686-msvc16-winnt    dynamic runtime       (cl.exe /MD  for MSVCRT.DLL)
+# i686-msvcd16-winnt   dynamic debug runtime (cl.exe /MDd for MSVCRTD.DLL)
+# i686-libcmt16-winnt  static runtime        (cl.exe /MT  for LIBCMT.LIB)
+# i686-libcmtd16-winnt static debug runtime  (cl.exe /MTd for LIBCMTD.LIB)
+#
+
 ARCH="x86-winnt"
 ACCEPT_KEYWORDS="~x86-winnt"
 
index 47eebf05283c445df197be67f16b0230139fc82f..8cf15e892e975ff252c6d4627fc2d756c5933943 100644 (file)
@@ -323,6 +323,7 @@ ppc-aix                     prefix/aix/7.2.0.0/ppc                          exp
 
 # Windows Profiles
 x86-winnt              prefix/windows/winnt/x86                        exp
+x64-winnt              prefix/windows/winnt/x64                        exp
 
 # Cygwin Profiles
 x86-cygwin             prefix/windows/cygwin/x86                       exp