On Tue, Aug 11, 2009 at 7:53 PM, Daniel Herring <dherring@tentpost.com> wrote:
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".

Thanks. I wasn't looking for that kind of a configuration problem....

Now CFFI builds for me :-)

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

Yes, but it would still be nice to have it work independent of the user's configuration :P

--
Elliott Slaughter

"Don't worry about what anybody else is going to do. The best way to predict the future is to invent it." - Alan Kay