[armedbear-devel] asdf and windows vs unix on abcl

Mark Evenson evenson at panix.com
Fri Oct 21 00:16:36 UTC 2011

On Oct 20, 2011, at 18:00 , Faré wrote:

> ABCL is special in that it can run on either Windows or Unix.
> The problem is that ASDF 2.017 determines which of Windows or Unix at
> compile-time, which causes confusion when ABCL's builtin ASDF is
> compiled on Windows and used on Unix or vice-versa. And I can tell
> your binary was definitely produced on Windows.
> (I found this issue while testing cl-launch. I also noticed that you
> fixed your ext:*command-line-argument-list* albeit in a necessarily
> incompatible way.)
> I suppose the solution is that the test of unixness vs windowsness
> should happen at runtime. Crazy.

We place :WINDOWS and :UNIX in *FEATURES* depending on where we end up executing, so forms like 

	(when (find :unix *features*)
	   (run-process "ls"))

should do the right sorts of things.  If you have other suggestions about how to manage this, please make them.

Mark <evenson at panix.com>

More information about the armedbear-devel mailing list