From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yb1-xb2b.google.com (mail-yb1-xb2b.google.com [IPv6:2607:f8b0:4864:20::b2b]) by sourceware.org (Postfix) with ESMTPS id ED2083858D28 for ; Fri, 26 Jan 2024 23:25:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org ED2083858D28 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org ED2083858D28 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::b2b ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706311559; cv=none; b=ZOwlI+SwDEOBMCW3Ea6x7YRmD2xbQG22OeQoq5IZctU5yhVXzYy+0sqmlzbXPKQzOMAYAP/7oxGN44zq1/WlkK/MbTblUGTbeKfZSWBaUgnAUyZqs26t/cSb2+3lS9FmAWqtIWjVOLz3EuaFWgCSdGYzy1zPSuRHZ44PFx7IbbQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706311559; c=relaxed/simple; bh=l+/+7escsHz1JBE6HeDDAmTsEZ2a3PRr+dPGwEAkYQc=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=QvWOwNiD4ZSaXAWLrmzNTWuoLq7oD+59eXRrtEIAg4sy2RHDLlVeSTJiozX5BABgz1dlv+XioLvRrPKYjPjFVszIe6B21Z7QmHjJe3EzBHZENDCL8doMnJMfv2RbL4Ia4NXluFAeyGwTMoIk3aCrG4M/YxtpZayr1XPWcztKwBc= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-yb1-xb2b.google.com with SMTP id 3f1490d57ef6-dc236729a2bso1245441276.0 for ; Fri, 26 Jan 2024 15:25:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706311557; x=1706916357; darn=gcc.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=l+/+7escsHz1JBE6HeDDAmTsEZ2a3PRr+dPGwEAkYQc=; b=k1mPWDH7ymeMBCt8bmLYD28qyR942Q7k49Uri+IFEMjFP2bKExIHsa2qljoiBldxxT ibpEaHJlSyBDRt6TZax2mwcV2nR3luNz294UQvlZSO3a4pbmN4WD+ovOQR/+Vyt05ERS sEAwLLmxX8H+KS6AmqBq4H7DSpiIq2ZWVIHm6Ck/Pbq/wy0e5N/qJhCvwn64dUj38cmN cXdqmBssU1XQpVxEc1dnBC7yL3RLGz2Fz3wRVwC1HIrsNZG4LMu96WyBeni9EOvAvNku oLDLu6r41ndYx/HiPuYEbfsvaFH3z+Uy1OrG90mSjOvVdR/X+gpTem65xZZb5wpyHZLa 3WFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706311557; x=1706916357; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=l+/+7escsHz1JBE6HeDDAmTsEZ2a3PRr+dPGwEAkYQc=; b=mYKNnX3hOcR9vOpfhZqKUFVFoPBCgQ3OxGFL2XVDbMxVE+TbIwzA5BNlc83Oe+3W0G C9cchdgmLRrtzTLL1clT6KSGD2EyX7Ysk7uRV2a3Ewk8NQE8a1o8N+uZcZ2u+x8RfH/M y+bXfnbfBwcMAoOiatMDmlxGD3B3i5bu1EET/1NIYUrq5pzKV8HEOAuGuH1oEYCGm/wR zAfaK2mOJrfdGKP+SDj7Whf71rl5zzyJFno2hKuAoxXXUguPpjZyTAXuEbAyjhyVXaS3 fXXtiH3Arf+oyXUFqj527eeXTlk+JxmX5HOznTDy/6yR+VA0kOisw3EeV4cfh5knwc5l hunQ== X-Gm-Message-State: AOJu0Yy0qrEy+vze2lN9+FmL2NsBAhYeuXkPXYB+BCdAnlcmDTTxjlmC toh8BloUBLEjhxpBgcfdlD3unpeBvtWQ0BZkC9hBTCLWtTLj3jxx1ClzAf5w8t+9jH+jUV9hmfZ vayLGuBum7D8oZs/Xb3/3M42CmKQ= X-Google-Smtp-Source: AGHT+IGafNX6HTqUYKi4RXGkNygxi4bB3ggXt6yHTLQu0rflb7TqCicqWyJ9dUCZQSwFJqBXPA12LlI4BUCCIHZNR/s= X-Received: by 2002:a25:2d03:0:b0:dc2:65e7:b616 with SMTP id t3-20020a252d03000000b00dc265e7b616mr581537ybt.74.1706311557199; Fri, 26 Jan 2024 15:25:57 -0800 (PST) MIME-Version: 1.0 References: <34fec7ea-8762-4cac-a1c8-ff54e20e31ed@embecosm.com> <5B813D2B-1CBF-4895-AE24-CE5B99DCA588@sandoe.co.uk> In-Reply-To: From: David Starner Date: Fri, 26 Jan 2024 17:25:45 -0600 Message-ID: Subject: Re: [Request for Comments] Using Rust libraries in the Rust frontend To: NightStrike Cc: GCC Development Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=0.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Fri, Jan 26, 2024 at 3:40=E2=80=AFPM NightStrike via Gcc wrote: > > On Thu, Jan 25, 2024, 11:27 Iain Sandoe wrote: > > > E.g. with Ada it is possible to port to a new platform by first buildin= g a > > cross-compiler and then to use that cross-compiler to build a =E2=80=9C= native > > cross=E2=80=9D (build !=3D host =3D=3D target) to provide an initial co= mpiler on the > > target platform. > > > > And that Ada solution is awful for nontraditional systems. Ditto for D. Why? And what solution would you suggest for compilers written in part in their own languages? How do you get the first C compiler on the platform without building a cross-compiler? --=20 The standard is written in English . If you have trouble understanding a particular section, read it again and again and again . . . Sit up straight. Eat your vegetables. Do not mumble. -- _Pascal_, ISO 7185 (1991)