Hi Alex, > 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
100% correct. > in order to build the 64bit version or ersatz, you need a working picoLisp > interpreter (any of the three works). Yes. One more option (and the easiest one) is to download pre-built *.s files like http://software-lab.de/x86-64.linux.tgz for the desired architecture (see INSTALL). > 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 Yes, pil32 should be doable with your patch. > modify src64/sys/x86-64.linux.* (and find a workaround for the lack of > -dumpspecs by clang). But I think there is no easy way to get pil64 working on the Mac. It was discussed here very often and pops up several times a year. The problem is that MacOS (independent of clang) requires position-independent code, which is not supported in src64/arch/x86-64.l A Mac running Arm64 would be no problem :) In fact, what would be much more interesting than MacOS is imho porting PilBox to iOS. This does not have the PIC problem as it is Arm, but needs the assembler in src64/arch/arm64.l to be adjusted for clang. ☺ Alex -- UNSUBSCRIBE: mailto:[email protected]?subject=Unsubscribe
