From patchwork Thu Feb 6 06:44:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Kozlyuk X-Patchwork-Id: 65613 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 02124A04FA; Thu, 6 Feb 2020 07:45:58 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3AD0D1C10D; Thu, 6 Feb 2020 07:44:49 +0100 (CET) Received: from mail-lf1-f67.google.com (mail-lf1-f67.google.com [209.85.167.67]) by dpdk.org (Postfix) with ESMTP id 7F6961C069 for ; Thu, 6 Feb 2020 07:44:44 +0100 (CET) Received: by mail-lf1-f67.google.com with SMTP id y19so3264749lfl.9 for ; Wed, 05 Feb 2020 22:44:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=7eC31oXTZFs91lh/XF0hZDISHGXBX6Qg6HrhwXjOkV4=; b=luwgCT1OH1Vbieei0Ug2hHUI58zL6I4vYf5LDhtejwtXCkLNS5UzwI6xdT8xcMVMdc KeDhL+9hJpTjHea0hUBBDSGc2OmLK6dajxKpz6SXYORQ01EBLI9/2x6KaTEbQHA98NP0 wmzBEhAT7Oo/8akgawe1cibpiryqk3Nz/PyNH8xaooLpQoboaRfLvVWOI2/p+SzTFFpC yi6/HE737WhwC1WgNNv98Um9wi/XWrCTajgvbTkkxxoS5u1CNt6j6OaaI+jhCObwKvm6 CGdDCKTDGQ+yzM1vZjvfaFTxFQdDfwAcCa4XKA360F+neA03x0UkSscuUsOaeqlw4FY0 6k9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=7eC31oXTZFs91lh/XF0hZDISHGXBX6Qg6HrhwXjOkV4=; b=ezW8UIx7fL+JP9fIEObKXJLM69HUIHWGwc+5+gGDswooMXZPHd/wkWjmOHmxWz5Jdo r2BfaFmKsVgIaN8hYKdStQzL14kvOCHr8P2L9hCIA/9ZrkJYFSCCiP1eSXZr59Bso0MM fwnqb0S4Lt+TRgwA+ITBz9e4hJScUe45iQGBMNcABA6h9RfHaduNiJBO5zIfsyJPwh0s kUK8f7BW7JhnGNX2g7u0NvmrKgCXZcGdQ+O2EJRv++oZQ/EmcNW+5Ncj31gnX0zFiKMM mBUeCX6HeRURe6q/YiYVB0KdCL18BF1224gN9zz3U+fOBQTq6S24Vh/zUSb/RN6E0qAo NE7A== X-Gm-Message-State: APjAAAVhwugZzy3y9veO7O3674BRXDoiE+G3xKL+aGMY8pY4ErT9lHrl IP2hXpgVirvh+B6604nUUew9WraYIH8= X-Google-Smtp-Source: APXvYqwTyqkyhKV+73QJKagezIrb0yoSwZSojTvbxTm6PLx2TnQ2knjqFP6pIsGzH5M9Dmhk7TJChQ== X-Received: by 2002:a19:844:: with SMTP id 65mr950266lfi.20.1580971483896; Wed, 05 Feb 2020 22:44:43 -0800 (PST) Received: from localhost.localdomain (broadband-37-110-65-23.ip.moscow.rt.ru. [37.110.65.23]) by smtp.googlemail.com with ESMTPSA id o19sm939669lji.54.2020.02.05.22.44.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Feb 2020 22:44:43 -0800 (PST) From: Dmitry Kozlyuk To: dev@dpdk.org Cc: Dmitry Kozlyuk , Bruce Richardson , Thomas Monjalon Date: Thu, 6 Feb 2020 09:44:25 +0300 Message-Id: <20200206064426.45697-7-dmitry.kozliuk@gmail.com> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200206064426.45697-1-dmitry.kozliuk@gmail.com> References: <20200206064426.45697-1-dmitry.kozliuk@gmail.com> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v2 6/7] build: add cross-file for MinGW-w64 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Add Meson configuration to cross-compile for Windows using MinGW-w64. It may require adjustments in some cases, but at least it provides the foundation. Signed-off-by: Dmitry Kozlyuk --- config/x86/meson_mingw.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 config/x86/meson_mingw.txt diff --git a/config/x86/meson_mingw.txt b/config/x86/meson_mingw.txt new file mode 100644 index 000000000..80f04343a --- /dev/null +++ b/config/x86/meson_mingw.txt @@ -0,0 +1,14 @@ +[binaries] +c = '/usr/bin/x86_64-w64-mingw32-gcc' +cpp = '/usr/bin/x86_64-w64-mingw32-g++' +ld = '/usr/bin/x86_64-w64-mingw32-ld' # Meson 0.53.0 +c_ld = '/usr/bin/x86_64-w64-mingw32-ld' +ar = '/usr/bin/x86_64-w64-mingw32-ar' +strip = '/usr/bin/x86_64-w64-mingw32-strip' +pkgconfig = '/usr/bin/x86_64-w64-mingw32-pkg-config' + +[host_machine] +system = 'windows' +cpu_family = 'x86_64' +cpu = 'native' +endian = 'little'