From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.devel Subject: Re: Porting Emacs on new platform. Date: Thu, 16 Sep 2021 00:49:02 +0200 Message-ID: <877dfhfo9t.fsf@gmx.net> References: <831r5qcr0a.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30476"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Eli Zaretskii , emacs-devel@gnu.org To: =?utf-8?B?0KDQsNCx0L7Rh9Cw0Y8g0J/QvtGH0YLQsA==?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Sep 16 00:50:05 2021 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 1mQdjB-0007fk-A1 for ged-emacs-devel@m.gmane-mx.org; Thu, 16 Sep 2021 00:50:05 +0200 Original-Received: from localhost ([::1]:40302 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mQdj9-0005AG-Ki for ged-emacs-devel@m.gmane-mx.org; Wed, 15 Sep 2021 18:50:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54280) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mQdiI-0004RF-IK for emacs-devel@gnu.org; Wed, 15 Sep 2021 18:49:10 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:54893) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mQdiF-00058D-N3; Wed, 15 Sep 2021 18:49:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1631746143; bh=dDrnkFPBC0MGtonGfkvA7lRoaGR4/udst0Gan8y3Jwg=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=FYH65R1+CoHPD5YwASmf8juVdhCjKsQ5T9FpDGXaSsErwp2qJ0+GTfPB3qcrdChzU T5nfGf3+ej/I2Do/T/zzNsYHRxpEiORGqEvwSpyfs+DrUl8PzXAQ8WVPz/tKNvl37J hckZQsR5Ayw6ds2e0QZp05M/Weqz1NbTyj+Q+qCc= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from strobelfs ([178.6.212.157]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MfpSb-1n6pDK0vqT-00gIuq; Thu, 16 Sep 2021 00:49:03 +0200 In-Reply-To: (=?utf-8?B?ItCg0LDQsdC+0YfQsNGPINCf0L7Rh9GC0LAiJ3M=?= message of "Thu, 16 Sep 2021 01:20:46 +0300") X-Provags-ID: V03:K1:sYwbKmnbEHg/+VUbFWyNiltyZUjPJR3qA/kBMb1iemy+iDRkLoi f78wQzCeDeCudygXFv3BNI4JERpU4Jc3t8Rl0cQOtGEVKQe5JYmDYviwwz0fp9zRRUUcsde FSFFv6qBdCCyz199zLLzjML5uJYJ1JQn3FxhWMZPScCyXtW07znBciML6raa6NF58IgJHsY vVjndY1vyUNUzMibhSWAQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:mseX2wNF2lk=:fNhjo2JIpwxYO6ZtnIMELN ayANzz1raW+naUkAhPJADmUuEuqXwLO2DLcVTWrrCtlmjH4931waSd3IR9DD8vlMosgH7RgCN AtrQYlwU/2QFDBDwm0adI40myxE7UqSv8pdljDjtMb2hM4n/xc9Krt/iQMqcwKmCfH5qvhBHR PmxkM8V7dvhfg9Y5FglYNRulBIrVWxehdQ35QSz1bQYpcjbrTdjxhQwuszw3xYEe4DksO4Rmo ZI4qK0JcVVyCHG8UBE9wB0C9PZWnGgR+lfpaaCvyL0vwKvc+5C9pYQAL3ltSVzEle53EMKlRm DfcoWd492Ri8d7WlghQvzLrIIRLA7jh4DfrXBy5es19cV+rOH50OE0m9qrHs50yzskME0+Rmw DTxpkmOIN9qizzCWHo+JXsrYeE9gq6JPdkng3l3oyc01jKPrqQ8xu7tVe8DNGy6v914oLTg3y lQoNFDDqdB02c2Z9yWNaKYRpsOUUTgziybmRmEQR7FNdEk1ayQt34h9l/P+wFngjOGwdiccVg lok+mr0u6+5wIuV6HVfcYyr3nHcDRWY0DM6uCIW3ney/KBtWihb/5hex/sgwWZ3/HVHFJKuVN L0Pchpe0CN0LeRv46tHU1s49l7Z1AOOmNNQJCjP/oM0iQBwk86CYEs03orjk+snf2JNTuleQB WZv/wiRB6OzM+igNC94As8kF196+/QR9RoemIZFJ8xz8cNtObVp+Y0n+IL2i2l/5VxMWvunHr COYTEPpG1lWRl+TP+FhIDHWZjl2PYfVdPKuIsjazQppgjOg8KiuD8vEVFVRHz/LpoiyErNEq Received-SPF: pass client-ip=212.227.17.21; envelope-from=stephen.berman@gmx.net; helo=mout.gmx.net 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_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no 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:274783 Archived-At: On Thu, 16 Sep 2021 01:20:46 +0300 =D0=A0=D0=B0=D0=B1=D0=BE=D1=87=D0=B0=D1= =8F =D0=9F=D0=BE=D1=87=D1=82=D0=B0 wrote: > Thanks for answering. > > Thanks for pointing out where places dumper in. > Yes, E2K, when Linux is installed, is a common Posix platform. > No important messages around, only in/out directory and compiling. But > i can send this btw, then will > be working with the machine again. > Could you say, how to compile emacs with debugging information? I mean > proper building with scripts like this: > ./autogen.sh > ./configure --with-x-toolkit=3Dno --with-xpm=3Dno --with-jpeg=3Dno > --with-png=3Dno --with-gif=3Dno --with-tiff=3Dno > make > make install /etc/DEBUG say this: *** Configuring Emacs for debugging =20=20 It is best to configure and build Emacs with special options that will make the debugging easier. Here are the configure-time options we recommend (they are in addition to any other options you might need, such as --prefix): =20=20 ./configure --enable-checking=3D'yes,glyphs' --enable-check-lisp-object= -type \ CFLAGS=3D'-O0 -g3' =20=20 The -O0 flag is important, as debugging optimized code can be hard. If the problem happens only with optimized code, you may need to enable optimizations. If that happens, try using -Og first instead of -O2, as -Og disables some optimizations that make debugging some code exceptionally hard. > And how do you advise debugging Elisp code? See the above mentioned file for more details. > And where to send the patches? To this mail? Probably best to send to the debbugs issue tracker; using `M-x submit-emacs-patch' might be helpful for that. > Thanks for helping. Steve Berman