gforth
[Top][All Lists]
Advanced

[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 install.md

    BUILD_FROM=tarball
source ./install-deps.sh # install only the dependencies for a tarball
build
    ./configure
    make
    sudo make install
...
HOSTPREFIX="gcc" GFORTHD="./gforth-ditc -p .:~+:." GFORTH="./gforth-ditc --die-on-signal --debug-mcheck -p .:~+:. -i kernl64l.fi 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 gforth.fi --die-on-signal -p ".:~+:." -i kernl64l.fi exboot.fs startup.fs arch/arm64/asm.fs arch/arm64/disasm.fs


Segmentation fault: 11.


Segmentation fault: 11.


Segmentation fault: 11.
make: *** [gforth.fi] 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 kernl64l.fi
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,

Running

./gforth-ditc --die-on-signal --debug-mcheck -p .:~+:. -i kernl64l.fi
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,
Tristan





Attachment: Makefile
Description: Text Data


reply via email to

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