From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-x434.google.com (mail-pf1-x434.google.com [IPv6:2607:f8b0:4864:20::434]) by sourceware.org (Postfix) with ESMTPS id 6999B385703F for ; Tue, 13 Sep 2022 06:30:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 6999B385703F Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pf1-x434.google.com with SMTP id y127so10809071pfy.5 for ; Mon, 12 Sep 2022 23:30:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date; bh=W3YIgYoRYJhsxUDk+vM8sUHnum+FA2JaVJYK51ZBq0E=; b=CPC2rM/xiU3dBv9LHh+27OjTOD/vTceMshT4oxJCXu7hpUm+UUhQydIgYCc6mOj+or Tmuzg93a6OzuCwbMZLUN8ZccbWLLLk3m9C1fale4VuZ6RghrWw79cPex9MEqHYo+xXHE vdkxCaSy1wan0UfcTf+G3BVO1lm3rplOfyKZ81ZQxln3MLYFscifMMQydub6vfBkqGmJ t8foij0wactI94iqlPYyJycNlJbuVghInNIvCnVQk8tgydUgy5l46efmExejeM2XnAZP MCtFDK9eJXXwvRHRGY+rg6uEL10yEgr4AVFea6qBPzzHMpNZ6tMfbmuzfU/LpbTNPHRS BSag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=W3YIgYoRYJhsxUDk+vM8sUHnum+FA2JaVJYK51ZBq0E=; b=J+CPjjz8za+m0vhGhwKDFlpTXnalWkZGO7o6/nVFIDqaHfoiiVGL+yycBIw/OfncOW 4ONt8m5nB+QKgMtyTfAIdLujGZTCSog5YnlBgDlQo1W7BWRGVm06kXs2wLb1K7bHyAIF UUytFEvT07WW3YPMBJ+q9Oa0W8OZRW0y2MxCGq5EzKrYqsdMPk6FiCoWdESt5CuZ9w63 kissdqIqMmIKAc+FAnny28IarGgsj3djQLXNL7UYnEYAhATMpoCgzhiy+Lp7Co4mcrKd 2otL7uwucZ0A4OeM6Y9W89LPCnRaaNLbvIUnm+cfB+BXkGNj6sJWCwAiraz06u0hntiG pjhg== X-Gm-Message-State: ACgBeo1YjB5WIxlIH7/V3mKl8VXlXPF6T8AoKXlkNCi5DNVK8YB4c+rY QLEPTDVDr1+cDyVXHCg/Jghyt/whwiY= X-Google-Smtp-Source: AA6agR7TsOX8hragaj6K26xl0gVj69PDwwVsqbKwUM2kacpB8gBj0da8HOvad63507MeccREBeAZrA== X-Received: by 2002:a65:47cc:0:b0:439:4696:18a6 with SMTP id f12-20020a6547cc000000b00439469618a6mr828438pgs.610.1663050628175; Mon, 12 Sep 2022 23:30:28 -0700 (PDT) Received: from [192.168.5.149] ([111.202.46.254]) by smtp.gmail.com with ESMTPSA id p8-20020a17090a748800b002005c3d4d4fsm6312816pjk.19.2022.09.12.23.30.26 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 12 Sep 2022 23:30:27 -0700 (PDT) Message-ID: Date: Tue, 13 Sep 2022 14:30:25 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.0 Subject: Re: Using CMake for building GCC To: gcc@gcc.gnu.org References: Content-Language: en-US From: Iru Cai In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A,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: In my opinion, the advantage of autotools is that it can generate a configure script that can be shipped with the source tarball, then any one with the source can run the configure script when the system has a POSIX shell and tools. If using CMake, meson, xmake, etc. the user will first need to install the build tool to build the source. I still hope to have one such build tool which can generate a configure script, and have some better properties than autotools: - implemented in a sane language (I don't like Perl) - generate a single configure script for the whole project instead of running configure on subprojects when running make - support building with ninja If CMake, meson, xmake or some other build system support generating a POSIX shell configure script, I think it would be fine to use it to replace autotools. On 2022/9/11 22:29, Junk Trash via Gcc wrote: > Hi, > > I want to get the opinions of GCC developers regarding adding CMake as a build system for GCC. Is it something you would like, something you are neutral about, or something you are strongly against? > > Thanks for your valuable feedback! > > Regards, > > JT