John Cowan wrote:
Brandon J. Van Every scripsit:

  
Fortunately it was all easily fixed.  CMake should be working fine now.  
csc -s x.scm works on MinGW.
    

But not on Cygwin:

$ csc -s x.scm
x.c:1: warning: -fPIC ignored for target (all code is position independent)
sh: -ldl: command not found
sh: -lm: command not found
*** Shell command terminated with exit status 127: /usr/bin/gcc.exe x.o -lchicken -o x.dll -fPIC -shared -L/usr/local/lib -Wl,-R/usr/local/lib -lpcre;-ldl;-lm -lchicken

It doesn't like that semicolon.

  

The fix is now in Darcs.  I hadn't converted a CMake list into a string.  It didn't show up on MinGW because MinGW only has 1 extra link library, so no difference between a list and a string in that case.

I haven't done a full recompile of Cygwin yet.  I just learned that MSVC binaries cannot in fact compile Cygwin, because the MSVC binary doesn't understand Cygwin shell pathnames.  So I'm going to have to change INSTALL-CMake.txt accordingly.  On Cygwin you'll need a *Cygwin* build of Chicken 2.3 or later, I think.


Cheers,
Brandon Van Every

_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to