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

-I / -A not working for lib-dirs in $HOME #525

Open klartext opened 6 months ago

klartext commented 6 months ago

I installed some libs in subdirs of my HOME-Dir. Then using -I or -A for cyclone gives the error message

Error: Unable to open file: 
"/usr/share/cyclone/srfi/152.sld"

The path I gave seems not to be considered at all.

Using icyc, the libraries are available.

justinethier commented 6 months ago

Thanks for the bug report. Is this with the latest version of Cyclone?

klartext commented 6 months ago

It was the newest version at the time of creating the Issue (v0.35.0).

klartext commented 6 months ago

I tried with v0.36.0, and I now get other error messages:

".//srfi/extend-comparisons.scm"

Error: Unable to compile library: 
(srfi 152)

Don't know about the extend-comparisions.scm. And I guess I should not need to know it.

The srfi library-installation has these files:

152.c
152.meta
152.o
152.sld
152.so

so I don't know, why the library has to be compiled...