From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.devel Subject: Re: icg build instructions [was: Re: igc: trying to chase a crash] Date: Wed, 27 Nov 2024 12:51:07 +0100 Message-ID: <87h67szyhg.fsf@telefonica.net> References: <874j3v2lq3.fsf@telefonica.net> <864j3vi0d0.fsf@gnu.org> <87zfln1468.fsf@telefonica.net> <86zflngk0j.fsf@gnu.org> <87v7wb11hk.fsf@telefonica.net> <87ttbtm45y.fsf@no.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25512"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) To: emacs-devel@gnu.org Cancel-Lock: sha1:DTA6sRXWHyV3EsArpOHoh3DfNoU= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Nov 27 14:42:11 2024 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 1tGIIz-0006Nu-Fm for ged-emacs-devel@m.gmane-mx.org; Wed, 27 Nov 2024 14:42:09 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tGIIc-0005Da-Jm; Wed, 27 Nov 2024 08:41:46 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tGGZj-0008Ev-7Z for emacs-devel@gnu.org; Wed, 27 Nov 2024 06:51:19 -0500 Original-Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tGGZg-0005DU-NA for emacs-devel@gnu.org; Wed, 27 Nov 2024 06:51:19 -0500 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1tGGZd-0002Wt-Ug for emacs-devel@gnu.org; Wed, 27 Nov 2024 12:51:13 +0100 X-Injected-Via-Gmane: http://gmane.org/ Received-SPF: pass client-ip=116.202.254.214; envelope-from=ged-emacs-devel@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 27 Nov 2024 08:41:23 -0500 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:325761 Archived-At: Gerd Möllmann writes: > Andrea Corallo writes: > >> A README-IGC in the top-level dir SGTM (as a temporary solution before >> the merge at least). I'm wondering if we could have some way to >> propagate this information also outside emacs.git as well 🤷 >> >> Andrea > > I've added a README-IGC, with what I remember. Maybe others could add > what they know to it. Thanks. AFAIK, mps is not packaged by Debian. For building it locally, possibly the easiest route is to clone https://github.com/Ravenbrook/mps.git (which was updated just today, BTW), compile with cd code cc -O2 -c mps.c ar rvs libmps.a mps.o Then config the Emacs build with configure CPPFLAGS=-I/path/to/mps/includedirectory LDFLAGS=-L/path/to/mps/codedirectory --with-mps=yes <... rest of configure options..> This can have a variation for compiling&using the debug version of mps. The above is not tested with the current state of mps/emacs. I can try later and add those instructions to README-IGC. Whe should decide if we direct users towards the optimized build (better engagement and real-case experience) or to the debug build (better bug reports but unusably slow in my experience).