From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Visuwesh Newsgroups: gmane.emacs.devel Subject: Re: MPS: native comp Date: Tue, 30 Apr 2024 19:15:42 +0530 Message-ID: <87jzkfq7zt.fsf@gmail.com> References: <86y18vow8z.fsf@gnu.org> <86sez3oubo.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="33325"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Andrea Corallo , gerd.moellmann@gmail.com, emacs-devel@gnu.org, eller.helmut@gmail.com To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Apr 30 15:46:50 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 1s1noo-0008VZ-2j for ged-emacs-devel@m.gmane-mx.org; Tue, 30 Apr 2024 15:46:50 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s1no7-0006q3-3X; Tue, 30 Apr 2024 09:46:07 -0400 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 1s1nnt-0006kz-G2 for emacs-devel@gnu.org; Tue, 30 Apr 2024 09:46:04 -0400 Original-Received: from mail-pf1-x442.google.com ([2607:f8b0:4864:20::442]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s1nnr-0008W1-BP; Tue, 30 Apr 2024 09:45:52 -0400 Original-Received: by mail-pf1-x442.google.com with SMTP id d2e1a72fcca58-6f30f69a958so4913200b3a.1; Tue, 30 Apr 2024 06:45:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714484746; x=1715089546; darn=gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=HxiwW0vT2jYKf6DcvnRLH0K7kMkmmDxmDFRpwtxwLWk=; b=cjGViQuJ481zON7NIIpF1CkoqHWQalzoaA79YfLyljdtiEzw8XHa+W1qRtZ7jGJu7/ DFopytquuaRT4pGXTTXYv4heOB1pfVmRoa5WfDnv4EvN+Vj2LoUR+Te/UEuFrAUsgclT JBT0X3e9ZOZI7uk8+/moEu42gdB0HgdLlvOyUZzymART6Tzt+SHj0F5YcWur3qHdI6Vo 92NcNZRbJiEnoq2ui42wtfYaGQYEh1CvZVwTBSJKjqmeOAcigGxxYCxqLrqkixAff+XY giGG5VeXonrx/P+WwX7jmG+mBzaHA5V0kequVaRkSzFWljlRk1eyilCKQ8gao5Jao7Ch XgyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714484746; x=1715089546; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=HxiwW0vT2jYKf6DcvnRLH0K7kMkmmDxmDFRpwtxwLWk=; b=jV24r+g3Css/byfOxIk+VTLqGkkdr4fszpnWs9ShJMlz803rlEmQ0X4LTbpDcmBxaL cOPSHjyHamuL4bDwiKFScil+rWErqCFWzzaNlw+nV+ZulUwjNwoMhiipb+YyLQYI7hSQ YEWi1ORj7bTPWUc1fxgtVgTsVLclam9ZQm3L6wf/7S/2VcvCh8TKC6CNIqnxSxJNdtni dzpq6L767tK8STjwJvlRrzhneJi+jWvszBItH4trSEQfAaXChS+IbbHlYZqposBda1vV BL6rfpYyJYplXXURLZSugO9EeCH79NQxk1HNvaUE3LCHtHXjcjdU4M98i011QnCBWVWk PyvQ== X-Forwarded-Encrypted: i=1; AJvYcCV2XK8+NoJQpDw6/t25bQkjDDM2USfBiBGdGFbsVdQAONb3q5bsGoMX4ddZxTDBmanwjazMvcUW9vhCCIlj6zrgAFnm X-Gm-Message-State: AOJu0YxgLfiBhzQa4D26dAWamS44pb44pyjPoeV0NgYqPOwOQnXdo0pQ QiUzjdbQd/vSjhScDsRZIql4FIjhjEiYvJRBMuRRQ80IQX2Oj7Ym4uBYaald X-Google-Smtp-Source: AGHT+IFcSrFiRgvQgNvj3E8ADuO+bMsgAtk9BzMP1qe65DDjkgDVOWPSlrryWDuj6SYN6FblTp629A== X-Received: by 2002:a05:6a21:3a93:b0:1ad:13e:928 with SMTP id zv19-20020a056a213a9300b001ad013e0928mr3275855pzb.0.1714484745880; Tue, 30 Apr 2024 06:45:45 -0700 (PDT) Original-Received: from localhost ([118.185.152.162]) by smtp.gmail.com with ESMTPSA id j22-20020a056a00235600b006ea7d877191sm21115539pfj.2.2024.04.30.06.45.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 06:45:45 -0700 (PDT) In-Reply-To: <86sez3oubo.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 30 Apr 2024 16:26:19 +0300") Received-SPF: pass client-ip=2607:f8b0:4864:20::442; envelope-from=visuweshm@gmail.com; helo=mail-pf1-x442.google.com 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_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.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:318432 Archived-At: [=E0=AE=9A=E0=AF=86=E0=AE=B5=E0=AF=8D=E0=AE=B5=E0=AE=BE=E0=AE=AF=E0=AF=8D = =E0=AE=8F=E0=AE=AA=E0=AF=8D=E0=AE=B0=E0=AE=B2=E0=AF=8D 30, 2024] Eli Zarets= kii wrote: >> Okay thanks for the info, I tried ./configure + make on the repo >> checking out the latest release but this failed on my machine. Also I >> was puzzled there are instruction to build it using only the compiler >> like 'cd code && cc -O2 -c mps.c' (but I wanted have it installed as >> well). > > You should read manual/build.txt. It tells you to run the following > to build MPS on a 64-bit GNU/Linux with GCC: > > cd code && make -f lii6gc.gmk > > To test, read design/tests.txt; basically you should run > > cd code && make -f lii6gc.gmk VARIETY=3Dcool testall > cd code && make -f lii6gc.gmk VARIETY=3Dhot testall > > If you want to install it (not manually, but by "make install"), then > yes, you need to do > > ./configure --prefix=3DPREFIX > make install > > But then you are at the mercy of the few platforms supported by the > configure script (although for GNU/Linux you should be okay). If you're using a newer gcc though, you will get bit by a warning about dangling-pointer and the build stops. See https://github.com/Ravenbrook/mp= s/issues/256. If I remove -Werror from the gc.gmk, I can finish the compilation.