"Fernando D. Mato Mira" <········@iname.com> writes:
> This kind of stuff is done all the time, but I forgot where I saw some
> nice general macros, so here's today's take at it:
>
> Example:
>
> (preserving-context nil ((ext:search-list "clm:")
> (ext:clear-search-list "clm:")
> (ext:search-list-defined-p "clm:"))
> (list (make-pathname :directory (pathname-directory
> *load-pathname*))
> #p"library:")
> (ext:load-foreign (list #p"clm:unixsocket.o"
> #p"clm:io.o")
> :libraries '("-lc" "-lm"))))
Ouch. You touched a nerve. I strongly believe that CMUCL search
lists are evil. With all their problems, Logical Pathnames are the
way to go.
Cheers
--
Marco Antoniotti ===========================================
PARADES, Via San Pantaleo 66, I-00186 Rome, ITALY
tel. +39 - 06 68 10 03 17, fax. +39 - 06 68 80 79 26
http://www.parades.rm.cnr.it/~marcoxa