From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [SOLVED] (was: very different start up for emacs master compared with 3 month ago) Date: Tue, 13 Aug 2019 21:55:47 +0300 Message-ID: <83blwssxn0.fsf@gnu.org> References: <87sgqanxxk.fsf@mat.ucm.es> <83blwy9vef.fsf@gnu.org> <87tvale3t6.fsf_-_@mat.ucm.es> <83o90trvf3.fsf@gnu.org> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="149244"; mail-complaints-to="usenet@blaine.gmane.org" Cc: oub@mat.ucm.es, emacs-devel@gnu.org To: "otadmor ." Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 13 20:56:31 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hxby9-000cgi-PT for ged-emacs-devel@m.gmane.org; Tue, 13 Aug 2019 20:56:29 +0200 Original-Received: from localhost ([::1]:54896 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hxby8-0008TV-Iq for ged-emacs-devel@m.gmane.org; Tue, 13 Aug 2019 14:56:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47953) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hxbxh-0008TB-Mc for emacs-devel@gnu.org; Tue, 13 Aug 2019 14:56:02 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:43407) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hxbxh-0002El-5g; Tue, 13 Aug 2019 14:56:01 -0400 Original-Received: from [176.228.60.248] (port=1742 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hxbxg-0006AV-Be; Tue, 13 Aug 2019 14:56:00 -0400 In-reply-to: (otadmor@gmail.com) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:239349 Archived-At: > From: "otadmor ." > Date: Tue, 13 Aug 2019 21:46:48 +0300 > Cc: Uwe Brauer , emacs-devel@gnu.org > > When compiling emacs for daily use is it better to compile with -O? Or without -O at all? > Which optimization level is suggested? Using -O0 produces a binary that's slower, but if it crashes or you need to debug it, the information you can report is more full and reliable. Letting the build use the default optimization produces a faster program, but it's harder to debug. What to do is up to you. I debug the development version of Emacs quite a lot, so I always build the development snapshots with -O0.