[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-users] eval.scm library.scm not handling Windows pathnames
From: |
Brandon J. Van Every |
Subject: |
[Chicken-users] eval.scm library.scm not handling Windows pathnames |
Date: |
Fri, 09 Jun 2006 15:07:37 -0700 |
User-agent: |
Thunderbird 1.5.0.4 (Windows/20060516) |
I'm trying to implement a hierarchical installation structure in the
CMake build, with chicken-defaults.h, substitutions in csc.scm.in, etc.
The latest problem is that compilation of eval.c and library.c die
because Windows drive letters are not liked, i.e.
-DC_INSTALL_LIB_HOME="E:/Program Files/Chicken/lib" . Note the forward
slashes, which is what CMake prefers to output. I could change that,
but it seems Chicken prefers it that way as well. Note also the space
in the Windows program pathname, which is typical of native
installations. I haven't delved into whether Chicken has cleanup
routines for this sort of thing. I saw some stuff like that in
csc.scm.in but I don't know if it works. At last count, I was getting
things like "E:/Program is worthless" or some such, meaning it was
breaking at the space. But now I can't even get that far in the build
because I have to solve eval.c and library.c first.
Any pointers on what routines to look at? I don't know if it's a
quoting problem or if E: and spaces are foreign-speak. My brain is
fried from this stuff. I'm going to gather signatures, go to a gallery,
several hours of stuff. I hope there's a helpful pointer when I get
back so I can finish this thing.
Cheers,
Brandon Van Every
$ make -k
Building C object boot/CMakeFiles/libchicken-boot.dir/eval.obj
E:/devel/msys/chicken/boot/eval.c: In function `f_10497':
E:/devel/msys/chicken/boot/eval.c:5942: error: `E' undeclared (first use
in this function)
E:/devel/msys/chicken/boot/eval.c:5942: error: (Each undeclared
identifier is reported only once
E:/devel/msys/chicken/boot/eval.c:5942: error: for each function it
appears in.)
E:/devel/msys/chicken/boot/eval.c:5942: error: syntax error before ':' token
make[2]: *** [boot/CMakeFiles/libchicken-boot.dir/eval.obj] Error 1
Building C object boot/CMakeFiles/libchicken-boot.dir/library.obj
E:/devel/msys/chicken/boot/library.c: In function `f_11783':
E:/devel/msys/chicken/boot/library.c:16508: error: `E' undeclared (first
use in this function)
E:/devel/msys/chicken/boot/library.c:16508: error: (Each undeclared
identifier is reported only once
E:/devel/msys/chicken/boot/library.c:16508: error: for each function it
appears in.)
E:/devel/msys/chicken/boot/library.c:16508: error: syntax error before
':' token
make[2]: *** [boot/CMakeFiles/libchicken-boot.dir/library.obj] Error 1
make[2]: Target `boot/CMakeFiles/libchicken-boot.dir/build' not remade
because of errors.
make[1]: *** [boot/CMakeFiles/libchicken-boot.dir/all] Error 2
make[1]: Target `all' not remade because of errors.
make: *** [all] Error 2
make: Target `default_target' not remade because of errors.
- [Chicken-users] eval.scm library.scm not handling Windows pathnames,
Brandon J. Van Every <=