Proposal for location of fasls



Robert Dodier wrote:
> On Wed, Jan 21, 2009 at 10:55 AM, Robert Dodier <robert.dodier at gmail.com> wrote:
>   
>> On Tue, Jan 20, 2009 at 3:51 PM, Raymond Toy <toy.raymond at gmail.com> wrote:
>>
>>     
>>>    maxima-subsystem-binary-pathname &rest base
>>>
>>> This creates the pathname *maxima-userdir*/<base>/binary-<lispname>
>>>       
>> OK by me, but let's make sure that everything depends on *MAXIMA-USERDIR*
>> only via MAXIMA-SUBSYSTEM-BINARY-PATHNAME.
>> That way if/when we have 2nd thoughts, we can change the location
>> without requiring changes elsewhere.
>>     
>
> It would be really nice if there were also a way to set the binary path so
> that stuff can be written into installation directories (by the superuser).
> That way users could share the compiled stuff.
>
>   
The part about making all uses of *maxima-userdir* is beyond my
proposal. I was only considering share stuff with defsystems that wants
to stuff fasls somewhere. I certainly agree that everyone should be
using maxima-subsystem-binary-pathname (or whatever it's called) so we
can easily move things around.

For the second item about installation directories, I guess the user
(superuser) could set maxima_userdir to be the appropriate place.
Or maybe we want a new variable, *maxima-objdir* (maxima_objdir) to
specify where fasls should go? With the default being the source
directories (as suggested by Oliver K.) and after installation, it
defaults to *maxima-userdir* or something. (Don't know if that's
possible or not. I have done an installation in ages.)

Ray