|From:||Brandon J. Van Every|
|Subject:||Re: [Chicken-users] How easy is it to use Chicken in Windows XP|
|Date:||Fri, 25 Aug 2006 12:41:53 -0700|
|User-agent:||Thunderbird 126.96.36.199 (Windows/20060719)|
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.
Brandon Van Every
|[Prev in Thread]||Current Thread||[Next in Thread]|