[Ecls-list] CFFI on ECL HEAD/MinGW?

Daniel Herring dherring at tentpost.com
Wed Aug 12 02:53:40 UTC 2009


On Tue, 4 Aug 2009, Elliott Slaughter wrote:

> I know that ECL MinGW port was recently fixed... but it wasn't clear to me whether CFFI is supposed to work on MinGW or
> not. Anyways, when I try to compile it, I get an error compiling Alexandria (newest version from darcs):
> 
> ;;; Finished compiling c:/Program Files/asdf/alexandria/package.lisp.
> ;;; Note: Scanning #P"c:/Program Files/asdf/alexandria/package.o"
> ;;; Note: Found tag: "_ecl0qIqMOc7_1gLY2ty" for c:/Program Files/asdf/alexandria/package.o
> ;;; Note: Invoking external command:
> ;;;   gcc  -g -O2   -Dmingw32 -O "-Ic:/Bin/ecl" -w -c "c:/DOCUME~1/ELLIOT~1/LOCALS~1/Temp/ECL29.c" -o
> "c:/DOCUME~1/ELLIOT~1/LOCALS~1/Temp/ECL29.o"
> gcc: Files/asdf/alexandria/package.fas: No such file or directory
> ;;; Note: Invoking external command:
> ;;;   gcc -shared -o c:/Program Files/asdf/alexandria/package.fas -Wl,--export-all-symbols -L"c:/Bin/ecl"
> "c:/DOCUME~1/ELLIOT~1/LOCALS~1/Temp/ECL29.o" "c:/Program Files/asdf/alexandria/package.o"     -lecl    -lm -lws2_32

Ouch.  Somewhere a file path isn't being quoted properly, and the shell is 
splitting "c:/Program Files/asdf/alexandria/package.fas" into "c:/Program" 
and "Files/asdf/alexandria/package.fas".

Has this asdf install ever worked with ecl?  Either way, a simple 
workaround is to move "c:/Program Files/asdf" to "c:/asdf".

- Daniel

P.S.  I hate spaces in file/directory names...


More information about the ecl-devel mailing list