[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building gforth 0.7.9 under macos with M1 chip

From: tristan
Subject: Re: Building gforth 0.7.9 under macos with M1 chip
Date: Sun, 10 Jul 2022 10:04:40 +0100
User-agent: Roundcube Webmail/1.4.13

On 2022-07-09 18:50, Anton Ertl wrote:
On Sat, Jul 09, 2022 at 06:26:11PM +0100, tristan wrote:
On 2022-07-08 09:39, Anton Ertl wrote:
> On Wed, Jul 06, 2022 at 08:53:50PM +0100, Tristan Williams wrote:
> > Hello,
> >
> > Has anyone successfully built and run gforth 0.7.9 on a mac with the
> > M1 chip? I have a 0.7.3 binary (via homebrew) that runs, but my
> > attempts at building 0.7.9 from the tarball have failed. Any
> > suggestions gratefully received.
> We may be better able to help you if you provide more specifics, in
> particular the compilation log.
> - anton

Hello Anton,

So far I have followed

source ./ # install only the dependencies for a tarball
    sudo make install
HOSTPREFIX="gcc" GFORTHD="./gforth-ditc -p .:~+:." GFORTH="./gforth-ditc --die-on-signal --debug-mcheck -p .:~+:. -i exboot.fs startup.fs arch/arm64/asm.fs arch/arm64/disasm.fs" includedir=`pwd`/include extrastuff=' -I'`pwd`/include/gforth/0.7.9_20220630/arm64 bindir=`pwd` libccdir=`pwd`/lib/gforth/0.7.9_20220630/arm64/libcc-named ./gforthmi --die-on-signal -p ".:~+:." -i exboot.fs startup.fs arch/arm64/asm.fs arch/arm64/disasm.fs

Segmentation fault: 11.

Segmentation fault: 11.

Segmentation fault: 11.
make: *** [] Error 1

Ok, no immediate known way to fix it.  You could try showing us the
output of

./gforth-ditc --die-on-signal --debug-mcheck -p .:~+:. -i
exboot.fs startup.fs arch/arm64/asm.fs arch/arm64/disasm.fs

at that point, but my guess is that it will be hard to fix without us
working directly on such a box.  I think we have access to such a box,
but it will take a few days.

- anton

Hello Anton,


./gforth-ditc --die-on-signal --debug-mcheck -p .:~+:. -i
exboot.fs startup.fs arch/arm64/asm.fs arch/arm64/disasm.fs

immediately after running the makefile results in

Segmentation fault: 11.

and no other output. If the above command should be run from within the Makefile can you tell where it should be placed? I have attached the makefile (made by configure) used.

Having become very attached to recognizers on my 86 based desktop it would be wonderful to have them available on my M1 based laptop.

Best wishes and thanks,

Attachment: Makefile
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]