CCL tries to find the ccl-init.lisp file on startup.
After a lot of searching I found out, that CCL tries to do this with the path that ccl's implementation of (USER-HOMEDIR-PATHNAME) spits out.
Normally I would think that it's the same as the HOME environment variable. But CCL constructs the path in an other way it seems.
The problem is, that if i set a HOME environment variable inside a batch file:
Code: Select all
SET HOME=%CD%
However, CCL does not recognise the setted HOME env variable as user homedir and therefor cannot find the ccl-init.lisp.
If I do a (user-homedir-pathname) inside the slime repl or ccl's repl it spits out my "original" user's home directory, and not that one I've set as HOME in my batchfile.
So, I think CCL's implementation of (user-homedir-pathname) constructs it's answer in another way than reading out HOME from the environment.
But how?
I would like to use ccl-init.lisp to load lets say quicklisp, but I'm not able to, because I don't know how CCL puts it's own (user-homedir-pathname) together.
In the end I want to do something similar as "Lispstick" but I want to use CCL instead of SBCL.
SBCL seems to load it's init file from the directory the HOME environment variable points to as you can see in lispstick, but CCL does it in an other way. But how?
I don't want to clutter my dev environment into the host os all over the place, I want to use it from a specific directory that I can copy, move, alter, whatever.
Thank you for any input.