From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4CDD8A0554; Tue, 18 Feb 2020 01:03:25 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 19C681DAB3; Tue, 18 Feb 2020 01:02:47 +0100 (CET) Received: from mail-lj1-f196.google.com (mail-lj1-f196.google.com [209.85.208.196]) by dpdk.org (Postfix) with ESMTP id CE08A1DA8A for ; Tue, 18 Feb 2020 01:02:41 +0100 (CET) Received: by mail-lj1-f196.google.com with SMTP id q23so4712594ljm.4 for ; Mon, 17 Feb 2020 16:02:41 -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=RwKONynaeUaCXBU5muGugMm7ZbQDukgb7ntGGPakTW1Iav3MeFDh+GsRQBE5oReSOh N2Qmra+nZMAxPVxSR6iw33MJOdmeY/5sgHvtc+5G3nrZUQXqTgsuH43PcaBEFArOun4j ddFXIVEflaIhQ7cEngc7BqDQAmQCH6e3olcRK4sFgMeyi/unyM1L3IAFMQZo/f6nvR47 ZQdQ52Mf9LCi8Cp/0bhY2NyAD3UkgdWj2Q7GuPdKzA6IL2vAMYtNnDpDqTolfObCXPdP hFuoWmZhpAM7VocEk+zV9ubAhVyp+3MK+Fu2f9b11IULgYkK+2FJ2N9bK2rApusYtF1s Ouxw== 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=bp3tR0BDZUKafMDJY5LS8yRUszirFozoDiURTLL6osTgGorWmUm/Hy3nj85KPxBoRP NwaA4sZrVK+KraEWowENYG2ENPnIWQ3nnCS7Iuf5iBCMR0E/Xiq8HQnoTS6y/aPGOL8s uLXcBs931DZi+aDQMjQrH8LrScEv0QWhSXSi8iOokjzckk2k46rSGX80vKHq34DLslfB AT3kkbnpduEgMqInn0i2o1XtUfEmjS1GOBp9fg8RQIdlYt5FWARL6w4o/6JoB8u+dpXT +triHj8MJZMW2e+GasF+5awVWZo6rUzp51MmmuqGvbpI3pnPqLDuwJ3SBI9AinmrgbDK nBRA== X-Gm-Message-State: APjAAAXdoslfWnTSrjc1EJACkIBK7TzSvAlcihXiVVkDB6bL+X6m6Mpa +ad3FlgvBGDu6GJx+T+9EOPEtWKnMyI= X-Google-Smtp-Source: APXvYqzfnIb4LJ+OhtaxViz462j4S34emNydUzTV7m+almlWOb4S9NghlDlDI+rHmbN5XwW1p3f4Jw== X-Received: by 2002:a2e:97cc:: with SMTP id m12mr10993607ljj.241.1581984161206; Mon, 17 Feb 2020 16:02:41 -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 r20sm1068864lfi.91.2020.02.17.16.02.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Feb 2020 16:02:40 -0800 (PST) From: Dmitry Kozlyuk To: dev@dpdk.org Cc: Dmitry Kozlyuk , Thomas Monjalon Date: Tue, 18 Feb 2020 03:02:27 +0300 Message-Id: <20200218000229.86621-6-dmitry.kozliuk@gmail.com> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200218000229.86621-1-dmitry.kozliuk@gmail.com> References: <20200218000229.86621-1-dmitry.kozliuk@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v3 5/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' -- 2.25.0