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 BA941A055A; Thu, 27 Feb 2020 05:26:30 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AAC4D1BFEE; Thu, 27 Feb 2020 05:25:59 +0100 (CET) Received: from mail-lj1-f194.google.com (mail-lj1-f194.google.com [209.85.208.194]) by dpdk.org (Postfix) with ESMTP id 875EC1BFDD for ; Thu, 27 Feb 2020 05:25:54 +0100 (CET) Received: by mail-lj1-f194.google.com with SMTP id w19so1686395lje.13 for ; Wed, 26 Feb 2020 20:25:54 -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=Z5S/q1Liz98Zvuq0zyTouDrDQJbXPcKrnpmMeOeJ/Z8=; b=vdCYvOXupYrrri9Nw1H+bhDjmaPPVUeIPwa6X2uqRqT5uDiE2mTzg6vHuFOqTC9gJL lJnRim6f8Pr+GqdbXBqU4U1wSHSYSH8Orzk88RJ1d2WxS70Zl28xNqBYWxtdZFL3L7zz 9zAkK+SsfuK4SuvX11Sjdi7lDoTB+LaWXncj49xnz1U2yym3hFAWtgMnFLhEoWJHpR/H DBip0qSgp5oQWEJUntIDE7V396HwwLJuVvMsmJ0P3pU/Ky+Aof6fb0wqyC4piMUdVTjZ qyGct487qaJy1/ET1jJwAkQoRgjt2Uk71sOS778ry/qgdaoY/3bc2ApzxNIxvkKaUaNL Otyg== 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=Z5S/q1Liz98Zvuq0zyTouDrDQJbXPcKrnpmMeOeJ/Z8=; b=NPBrzf3kRyE+hHUF4XJ97SXyobqz7sz36db6cbGzfHhSuoXmSWvVwd66Z2w8ecceQh 1kFfrjxM2Dkohg7eEov0GaCHVrEHwxqNjaVDoJkxsFXC4CKGCnsXBIy1Iok7q3nvZLdY QW3tpokRpSzSZaSGfgC7MSGExxB5NxLpUUxbkXC/rdVkYBNlaHE0B5d6YooWT1zhH3If wbjo+BiXKgKWQq5AAHyAW+tSHa+6eY/dicmO/VFLcg5r/3DOVWEwwft3cH+oS9/Gt+0P 2HW3A53kd1nB2EdFqPRjzrGXjI6DPAYC0anZY3DxmryVIy+Tc/nXjWn7In5A0NULwAsh wasQ== X-Gm-Message-State: ANhLgQ142GoMilhCYdxKgT9y6zGXZXr7UJxmMsVMlxI5FlXlVibncW6R 69lWA58+msaZvoW3QAD4s2aL+AbiYqM= X-Google-Smtp-Source: ADFU+vtaDVgz35XCpAXO8UHvZs0puZi9hIjsf3cFDGc7MUar4kEoGEzZyBB88p+FWzz08jzLMoazlw== X-Received: by 2002:a2e:6815:: with SMTP id c21mr1354735lja.10.1582777553839; Wed, 26 Feb 2020 20:25:53 -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 g21sm2224350ljj.53.2020.02.26.20.25.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Feb 2020 20:25:53 -0800 (PST) From: Dmitry Kozlyuk To: dev@dpdk.org Cc: Dmitry Kozlyuk , Thomas Monjalon Date: Thu, 27 Feb 2020 07:25:35 +0300 Message-Id: <20200227042537.187459-6-dmitry.kozliuk@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200227042537.187459-1-dmitry.kozliuk@gmail.com> References: <20200218000229.86621-1-dmitry.kozliuk@gmail.com> <20200227042537.187459-1-dmitry.kozliuk@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v4 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 | 13 +++++++++++++ 1 file changed, 13 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..fac33cfcd --- /dev/null +++ b/config/x86/meson_mingw.txt @@ -0,0 +1,13 @@ +[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' +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.1