Hi Kashyap, I think Alex means as of the moment PilASM does not support PIC, its the Mac side that insist to use PIC.
Btw, great job on this port and looking forward to this! Actually I did try to port Picolisp on Mac when I had a MacBook Air from my previous work, but it was only for Pil32 coz it was more easier to deal with C Before I left I was able to polish all the warnings and error on LLVM and run Pil with Fibo. It worked but it crashes if I do a Fibo on a bigger number I have an idea of the culprit but didnt got the time to continue. Once I can have my own Mac I will resume as well as try Alex suggestion for the iOS :) Your work reminds me of working on the arch.l that generates the verilog code for the simulator, and later on the instruction sets for the actual hardware. Keep us posted, thanks! BR, geo > On Mar 6, 2019, at 7:19 AM, C K Kashyap <[email protected]> wrote: > > Hi Alex, > I'll need some help understanding the PIC code a bit - can you please give an > example in the generated picolisp assembly that relies on position dependent > code? > Regards, > Kashyap > >> On Tue, Mar 5, 2019 at 10:28 AM Alexander Burger <[email protected]> >> wrote: >> > Btw ... just want to double check here - there is no way to run picolisp64 >> > on mac today right? >> >> Yes, because the Mac has a x86-64 CPU and insists to run position independend >> code, which is not supported by src64/arch/x86-64.l (at least not currently, >> and >> would be a major rewrite). >> >> It would not be a problem if the Mac still had a Ppc64 CPU (or Arm64), as >> these architectures support PIC well. >> >> Fortunately, iOS devices have Arm64, so this would be fine. >> >> ☺/ A!ex >> >> -- >> UNSUBSCRIBE: mailto:[email protected]?subject=Unsubscribe
