(creating a new thread)

Thank you pahidu for the information.

So, basically, the instructions for macos are:

$ sudo port install llvm-10 readline libffi openssl
$ sudo port select --set llvm mp-llvm-10
$ git clone https://git.envs.net/mpech/pil21.git
$ cd pil21
$ (cd src; make)

After your Makefile modification.

Btw, I'm trying to send a PR for your makefile modifications but I get a 404 
error, I must be fumbling something even though I select "merge into: 
mpech:master → pull from: brandelune:master".

Anyway, here is a git-diff patch for the Makefile.

JC

Attachment: makefile.patch
Description: Binary data


> On Sep 4, 2021, at 23:53, Andras Pahi <pa...@t-online.hu> wrote:
> 
> Hi Jean-Cristophe,
> 
> I’ve built pil21 on macOS 10.14:
> 
> 1) I use MacPorts, installed mp-llvm-10, readline, libffi, and openssl 
> packages.
>     Run ‘port select —set llvm mp-llvm-10’ to use the MacPorts version of 
> LLVM.
> 
> 2) I’ve modified the latest pil21 Makefile in the src directory:
> 
> # 19aug21 Software Lab. Alexander Burger
>   
> .SILENT:
> 
> CC = clang -I/opt/local/include -L/opt/local/lib
> PIL = ../pil # pil
> ASM = opt -O3  # llvm-as
> LLC = llc
> LINK = llvm-link
> MAIN = -rdynamic -lc -lutil -lm -ldl -lreadline -lffi
> # SHARED = -shared
> SHARED = -dynamiclib -undefined dynamic_lookup
> STRIP = : # strip
> 
> It builds cleanly and passes all the included tests.
> 
> Regards,
> pahihu

-- 
Jean-Christophe Helary @brandelune
https://mac4translators.blogspot.com
https://sr.ht/~brandelune/omegat-as-a-book/

Reply via email to