justinethier / cyclone

:cyclone: A brand-new compiler that allows practical application development using R7RS Scheme. We provide modern features and a stable system capable of generating fast native binaries.
http://justinethier.github.io/cyclone/
MIT License
823 stars 42 forks source link

installing on cyclone with brew doesn't work properly #485

Closed bentxt closed 2 years ago

bentxt commented 2 years ago

when installing cyclone with brew, the cyclone compiler doesn't work properly. When importing the most basic libraries for a simple "hello world", there are problems with the library system:

$ cat hello.ss
(import (scheme base)
        (scheme write))

(write "hello")
$ cyclone hello.ss

Error: Unable to open file:
"/usr/local/share/cyclone/scheme/cyclone/common.sld"

Under this directory "/usr/local/share/cyclone/scheme/cyclone" there are only .so files the .sld files live under brews installation directory of /usr/local/Cellar/cyclone. Prepending the correct path with "-I" doesn't help.

justinethier commented 2 years ago

Thanks for the report @bentxt - let me take a closer look at this.

justinethier commented 2 years ago

OK, this should be working much better now.

Can you please try brew again when you have a moment?

bentxt commented 2 years ago

yes it does work!

thanks a lot!