Message ID | 20240516092606.41242-28-poulhies@adacore.com |
---|---|
State | New |
Headers | show
Return-Path: <gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=adacore.com header.i=@adacore.com header.a=rsa-sha256 header.s=google header.b=Cd/bPC51; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Vg4gs5NYSz20KF for <incoming@patchwork.ozlabs.org>; Thu, 16 May 2024 19:35:05 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id C41323846047 for <incoming@patchwork.ozlabs.org>; Thu, 16 May 2024 09:35:01 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by sourceware.org (Postfix) with ESMTPS id A0304384AB6F for <gcc-patches@gcc.gnu.org>; Thu, 16 May 2024 09:26:31 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A0304384AB6F Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A0304384AB6F Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::331 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1715851599; cv=none; b=CJwPVKiZ2WDNmhKv/bmopur4M4eDBBpZRYwKxmj0z+MsrRnWuja1HNcPNcKJ6jccISAHE7y+qAA6Ij0/G4y7I6YrQTo/HGMKqlL/8b2q3IdebcLyoEEL7yrLWHnPbBxNlgYTKpo7uyfZQWhF3GKbOAPjnIQCaFlQlwWyld+qusE= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1715851599; c=relaxed/simple; bh=m9/hwSuaGTn3FrHIy71W3TaFWUPAEceyQa6mMrgXsqA=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=Ey8cL4yjql70wH3JUEtA/NkqtyjMB4OMGQCRX0ccbiYfsJiWPakn5GxHV1k+50mxazvH9h+d8vRBzaQhSsDDToHozHep0a4y75hEMgTLsLP+ntwAcd+D+ZScSKMUKr4QDMG/2GUUxuLY3u+PzV3W6d03hzGnnVM22OG9Z4EE6Y0= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-4202ca70270so2850545e9.3 for <gcc-patches@gcc.gnu.org>; Thu, 16 May 2024 02:26:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1715851590; x=1716456390; darn=gcc.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=isB4QICo1/bHQHT5oQaqFnufrlKK45wMcL2g10De7rU=; b=Cd/bPC51uVMFF+poukxJXYff1W0hwzyGmly8KZaNKcuS9/DDigEa3W52S9XEydzsiq AHK5ZHNjnVuJ0gqYPHELZfGjQ5mBW6hbEDqpDzqSO+9GSYd9uA1w/fXzmJkWdx6xztfi u7BZubwBU9iFcP1vQ2zc25K8a4hpMIMsh79hoT/JCAC2034VLLjDO5pF9p3pOHA7WrEf VGX8+rA7b0EQx6g2Xs0FAdNEgivYFwHTSvcqRHNdxnSkfJsxPCpUjkeyj7GAnWtBmBFZ w/osPujFUiird8ioJsuS8xqjx25jncsuy17XX4P9hQ+S5K8blXAEq8jQtrA9qrqZkSWP ukQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715851590; x=1716456390; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=isB4QICo1/bHQHT5oQaqFnufrlKK45wMcL2g10De7rU=; b=Iip3dOmUAiFn7u3uFI/tD+fNlLh9S0UaN8HMiw1ZGIv4adWcajzOBH13EczunaH49O wKenLCzu6XwkyY1odQuvy74xiePUHgV3h6uN9rVUuroaZKdx3WuX4eCUHWe2CCUDi83i 40+2m2O1GF8+raN3SJlipkO3qAWlSUc3UDrJh5DTlfUkK0Ktjhlx5/oFbkUtXXwG7VaM xrOxLxybPDJ32bx0yERMtCiCpuCaiuUPcKdKeLRU1wMleoyiCqAOcE4AH3w/Nxh0bfrZ HL5IlY492NU0Qwo4H66zA7wAfkmrnC8/77C4eNUXc//yTd3iAsx5vYALKmkNbGHk6zql 5v5Q== X-Gm-Message-State: AOJu0YyMIpTvMqTEtHZ4rsjK3Xk0i1Wq/B1buo9WdFAg0AW++Tb4QAh+ OrxrGx3tX0ju+NMuThBwa0fMPHAv7exxsxFSZfrEpnZ/zgHJ1lA9yeuCX6TecolKGst8kg0qDKQ = X-Google-Smtp-Source: AGHT+IHOLATYRamxQsVLjWvmQa9PU5V8179VNDdvfk3fqaMfy4w5jCJ/vdfo8zdZ/RsHH52jIP2urw== X-Received: by 2002:a05:600c:5356:b0:41a:e5f5:99f8 with SMTP id 5b1f17b1804b1-41feaa440e2mr186061765e9.18.1715851590529; Thu, 16 May 2024 02:26:30 -0700 (PDT) Received: from poulhies-Precision-5550.telnowedge.local (lmontsouris-659-1-24-67.w81-250.abo.wanadoo.fr. [81.250.175.67]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-41fd10cf8besm135802635e9.1.2024.05.16.02.26.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 May 2024 02:26:30 -0700 (PDT) From: =?utf-8?q?Marc_Poulhi=C3=A8s?= <poulhies@adacore.com> To: gcc-patches@gcc.gnu.org Cc: Sebastian Poeplau <poeplau@adacore.com> Subject: [COMMITTED 28/35] ada: Fix standalone Windows builds of adaint.c Date: Thu, 16 May 2024 11:25:57 +0200 Message-ID: <20240516092606.41242-28-poulhies@adacore.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240516092606.41242-1-poulhies@adacore.com> References: <20240516092606.41242-1-poulhies@adacore.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-13.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org |
Series |
[COMMITTED,01/35] ada: Fix docs and comments about pragmas for Boolean-valued aspects
|
expand
|
diff --git a/gcc/ada/adaint.c b/gcc/ada/adaint.c index 74aa3c4128e..f26d69a1a2a 100644 --- a/gcc/ada/adaint.c +++ b/gcc/ada/adaint.c @@ -242,6 +242,13 @@ UINT __gnat_current_ccs_encoding; #undef DIR_SEPARATOR #define DIR_SEPARATOR '\\' +#ifdef STANDALONE +#undef PATH_SEPARATOR +#define PATH_SEPARATOR ';' +#undef HOST_EXECUTABLE_SUFFIX +#define HOST_EXECUTABLE_SUFFIX ".exe" +#endif + #else #include <signal.h> #include <utime.h>
From: Sebastian Poeplau <poeplau@adacore.com> Define PATH_SEPARATOR and HOST_EXECUTABLE_SUFFIX in standalone MinGW builds; the definitions normally come from GCC, and the defaults don't work for native Windows. gcc/ada/ * adaint.c: New defines for STANDALONE mode. Tested on x86_64-pc-linux-gnu, committed on master. --- gcc/ada/adaint.c | 7 +++++++ 1 file changed, 7 insertions(+)