Hi Alex, I think I misunderstood the whole architecture of picoLisp and shot of in the wrong direction. The way I thought the picoLisp code is structured is that src is a common source and src64 is used in addition to src to build a 64bit version.
But it seems to be more like this: src - 32bit version src64 - 64bit version - ./arch ./sys define platforms and architectures - ./lib/asm.l defines an IR and implements an an IR -> ASM code generator ersatz - java implementation in order to build the 64bit version or ersatz, you need a working picoLisp interpreter (any of the three works). I'm on a x86-64 system, so in order to get the whole thing to work on mac I guess the most productive thing to do is to just skip everything 32bit and modify src64/sys/x86-64.linux.* (and find a workaround for the lack of -dumpspecs by clang). Does that make sense? Even though it would make the whole thread obsolete, the original problem (picolisp not working on macOS) would be solved if it works. Thanks for all your help so far! - Alex > On 9. Aug 2018, at 18:18, Alexander Burger <a...@software-lab.de> wrote: > > Hi Alex, > >> Unfortunately, that crashes with "abort trap: 6", same for some other tests. >> I'll see if I can find out what the issue is there. > > Can it be that simply this single test fails? > > test/lib.l, line 21 > > ### abort ### > (test 6 (abort 2 (+ 1 2 3))) > > giving an error like > > ((abort 2 (+ 1 2 3))) > 6 -- 'test' failed > > ☺ Alex > > -- > UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe