From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: =?UTF-8?Q?Nicolas_B=C3=A9rtolo?= Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] [WIP] Port feature/native-comp to Windows. Date: Wed, 13 May 2020 11:02:33 -0300 Message-ID: References: <5eb5b953.1c69fb81.a67ce.a764@mx.google.com> <83lfm1hc91.fsf@gnu.org> <83wo5lds87.fsf@gnu.org> <83lflzd8es.fsf@gnu.org> <83ftc7d4zu.fsf@gnu.org> <83blmvd2if.fsf@gnu.org> <833686d08r.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="124379"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , Andrea Corallo , emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed May 13 16:04:01 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jYrzN-000W8A-K5 for ged-emacs-devel@m.gmane-mx.org; Wed, 13 May 2020 16:04:01 +0200 Original-Received: from localhost ([::1]:54946 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jYrzM-0003Rv-Lk for ged-emacs-devel@m.gmane-mx.org; Wed, 13 May 2020 10:04:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51812) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYryD-0002Cx-0P for emacs-devel@gnu.org; Wed, 13 May 2020 10:02:50 -0400 Original-Received: from mail-ot1-x336.google.com ([2607:f8b0:4864:20::336]:45473) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jYryC-0003Rn-4E; Wed, 13 May 2020 10:02:48 -0400 Original-Received: by mail-ot1-x336.google.com with SMTP id e20so13456143otk.12; Wed, 13 May 2020 07:02:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=hHhN/pwAkRO92GWbdtN+hctjvZ7AWcKxXaMoL+1bpmI=; b=cq7COiRGSYcn5LiN7lZo55r+Y81OU5bYkX8SnW+fONhrzTSnPdylv4WVmV+uWeKvKS ChvT2cLY5ZJITnfHPbK+Rg+24pfHheD5/24jRpphKEQl7kNUkztnSA77kl/9AZoiv0XI Zo7H8jJEi5zYI61epMsEsP53czG13RlV+cynJOWswp0bLMOY3Kcs4QlRTNRJDooDadAK HyeksxjAxRUwMWC+N6VbE7U/ZBe/Ruj+RaJM8JqeKujwaaGmnKae6gZZqsySPbFFm9KK GfozfryVaTjTAn7wlwB4L3PeKA/sTEbYe4lms3dADLgMiWq1io7ptpXo+fmBhgybhJiD 5b6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=hHhN/pwAkRO92GWbdtN+hctjvZ7AWcKxXaMoL+1bpmI=; b=OtHilfgXtvxxKekmk2+AJL3a1Ct0Zpqbx1KBNKNFKnZEAcftFCeXiIhBfyxLqtVdCG H/i6RuQeA7qtsNxFG/4srqKaDLStFaKCTgXjMikCk/apRnAK5WJ2y32sSIJ6fce0Slc8 jobTCNPOBVrcGBoLCAXWWrwYP4JoMhPXlq8p1lEY+lfFSskAONZLxCNkqMHLyNV1J+Mo EfZUhPHZuBoXmX/jLKuXzwGut7vrZg7m/JC/m+i39jl1oJw/oROkjI3CUlZZXix+vXCk 4K62AKF+NvwXe8Pk6DTzURIS3u4NcKGWJZTthQw+gI9aY7QGKESHwrEzPqWPW1JoPfUs Scow== X-Gm-Message-State: AGi0PuYURMGk8dwPbHLaGIz36d9Ml+jIBFUYZFXenf7JfgtiMekz3yKd KzUu4wyXpXVfZTvhgSZjQhZlkFlg/BiXO2ppzrECBFm/3RYu0Q== X-Google-Smtp-Source: APiQypLqoPyOc+IIgaM7j8Zfheq8czAexLbgOhBt0jwU7rvwNtAEafFu982plVbf86ryYXtDM6zChKN+lwFHFptjIvU= X-Received: by 2002:a9d:5f09:: with SMTP id f9mr20821472oti.202.1589378565607; Wed, 13 May 2020 07:02:45 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::336; envelope-from=nicolasbertolo@gmail.com; helo=mail-ot1-x336.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:250123 Archived-At: > Does Emacs already support comparable functionality on GNU/Linux? It is not necessary unless we want users to be able to install an Emacs compiled with native compilation enabled and have it run even if libgccjit is not installed in their system. In GNU/Linux once Emacs has been built with support for a library, it requires it to be installed. Otherwise it fails with a message like this: emacs: error while loading shared libraries: libpng16.so.16: cannot open shared object file: No such file or directory If I understand the code correctly, only the Windows build supports dynamically testing for a library and disabling the features that depend on it if it is not installed.