[Ecls-list] *default-pathname-defaults* and compilation

Matthew Mondor mm_lists at pulsar-zone.net
Fri Dec 24 12:09:09 UTC 2010


Hello again,

I noticed that if setting *default-pathname-defaults* in ~/.eclrc, for
instance:

(setf *default-pathname-defaults* #p"/tmp/")

Whenever ECL wasn't started from /tmp/ COMPILE or COMPILE-FILE fail
with an "internal error where compiler returns -1".  Since the
generated command seems okay, but that the file names it attempts to
work with are relative to the current directory, I suspect that it
assumes *default-pathname-defaults* to never be changed unless the user
also changes the unix CWD using chdir(2).

When not changing *default-pathname-defaults* however, it appears that
proper fullpaths are being used to the various files, and all is fine.

My original reason for setting it to /tmp/ was for ECL temporary files
to be created under /tmp/.  Is there a recommended way to do this, no
matter the unix CWD?

Thanks,
-- 
Matt




More information about the ecl-devel mailing list