From patchwork Fri Jan 31 03:07:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Kozlyuk X-Patchwork-Id: 65404 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 65ACAA0524; Fri, 31 Jan 2020 04:08:44 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CD1911C0D0; Fri, 31 Jan 2020 04:08:03 +0100 (CET) Received: from mail-lf1-f68.google.com (mail-lf1-f68.google.com [209.85.167.68]) by dpdk.org (Postfix) with ESMTP id 92A871C0B6 for ; Fri, 31 Jan 2020 04:07:56 +0100 (CET) Received: by mail-lf1-f68.google.com with SMTP id f24so3800847lfh.3 for ; Thu, 30 Jan 2020 19:07:56 -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=N78Jw+Bg/CcVJoMwPrnj7nZUefQSQUZpIAYbBU/w/bM=; b=bY3wvbXnaZgTxaOBZj4lNyR7HBIcJuXzdWuI8uohczi3X65Uu1tRPcPDSjqXpnVWVG bD5jFoZOZV/la+OlTCnBC5lwwJAYBp8k78+24s88fF9HJHoYjX514ljVtOlSMl6VsOA4 zKh6uxMtKFyuwVNby/yiWAkJYqjx7CVCB39LNvzE97LjE57CxwWUELG8hI70QxsIFuoe 7jVrYv9DDmZcoPUmYzmZmpdyrrssmna0CqkwYDYpnWrMuXSxcGr2BWLphCblOTM1ilRc CtN6G0T/f5UTr49wBlnBX7TMmnYrxz7rMD+nILr7sc00RAkTcnygtcKnpPQZEWMbU3Ke pkBg== 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=N78Jw+Bg/CcVJoMwPrnj7nZUefQSQUZpIAYbBU/w/bM=; b=ROLUSCCybICZ00PNl+LuYlJNNrURGqHQKqVfAJxmNMydK30zQzBoL7BhhySX/rQG4+ KVGSBHSm3K6F25qsGMpbyBdsOkq/lHG+iRH5dUgg8nicbpEXZCCa1YTu+SqVHb0RR1zp z3CkAjMReXDFtFLGfmAN5IFIpJgZ6EjIZX0qPDRLmlTmjnCBz66dFyDjgZuirnckVrtR f2+09StYBwQELvkoHJvT8XJpLiiy6cnFo7XaoLBXfqmgA+j3KHp+ldEfcnstNRBJpf+Y Ky8VAKoXGLKCyekR9qW6+63G+JGkvrN11HoG9J9HdZsLWTCnQQrKVse0Md8R/dg7IV4e xvfw== X-Gm-Message-State: APjAAAXubvUQWhjsGFldNQjj/Ksow8ko1TWTh99y8QrLcx3Y8O6QrDlM J89IjOlX5iOdiziNBvq+RNXZIkssahS0CA== X-Google-Smtp-Source: APXvYqzO1QfUVit/+Brgfiq3F3+1V4NvLo+ygXa/NIYhRBXFtXL7OHI6ZELIMD4zIJwlu6JGvHmnDQ== X-Received: by 2002:a19:9159:: with SMTP id y25mr4364955lfj.63.1580440075864; Thu, 30 Jan 2020 19:07:55 -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 e12sm3630332lfc.70.2020.01.30.19.07.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Jan 2020 19:07:55 -0800 (PST) From: Dmitry Kozlyuk To: dev@dpdk.org Cc: Dmitry Kozlyuk , Bruce Richardson Date: Fri, 31 Jan 2020 06:07:43 +0300 Message-Id: <20200131030744.19596-6-dmitry.kozliuk@gmail.com> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200131030744.19596-1-dmitry.kozliuk@gmail.com> References: <20200131030744.19596-1-dmitry.kozliuk@gmail.com> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 5/6] 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 create mode 100644 meson_mingw.txt diff --git a/meson_mingw.txt b/meson_mingw.txt new file mode 100644 index 000000000..80f04343a --- /dev/null +++ b/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'