On Dec 19, 2007 2:10 PM, Alex Sandro Queiroz e Silva <[EMAIL PROTECTED]> wrote:
>      Based on my previous (program-filename) patch, I have created a
> chicken dist for win32 that can be dropped anywhere. csc automatically
> finds the Chicken compiler, includes and libs. This package may make the
> life of first-time Chicken users easier. It is in [1].
>
> [1] - http://www.ventonegro.org/chicken/

I tried it, it looks useful!

I have cygwin installed.  If I compile a "hello world" from a DOS
prompt, the result doesn't produce output:

C:\bin\chicken-mingw32-20071219\bin>csi hello.scm

CHICKEN
Version 2.738 - windows-mingw32-x86     [ manyargs dload ptables applyhook ]
(c)2000-2007 Felix L. Winkelmann        compiled 19/12/2007  on
intengine06 (MinGW)

; loading hello.scm ...
hello world!

#;1> (exit)

C:\bin\chicken-mingw32-20071219\bin>csc hello.scm
Info: resolving _C_temporary_stack by linking to
__imp__C_temporary_stack (auto-import)
Info: resolving _C_stack_limit by linking to __imp__C_stack_limit (auto-import)
Info: resolving _C_fromspace_top by linking to __imp__C_fromspace_top
(auto-import)
Info: resolving _C_fromspace_limit by linking to
__imp__C_fromspace_limit (auto-import)
Info: resolving _C_timer_interrupt_counter by linking to
__imp__C_timer_interrupt_counter (auto-import)

C:\bin\chicken-mingw32-20071219\bin>hello.exe

C:\bin\chicken-mingw32-20071219\bin>

But if I do the same thing from cygwin's version of bash, it works.
Goes to show, there is some compatibility between mingw and cygwin.
This is similar to what happened the last time I tried chicken with
cygwin (and there was a reasonable explanation for the stdout problem,
as I recall - but I forgot what it was already; will have to check old
emails).  So there is a chance that a GUI program would work with
either one, as soon as we have a suitable egg for a cross-platform
GUI.  :-)  Then it would be possible to build "real programs" with
Chicken that can be distributed as binaries for each platform, and
without extra DLLs (like the cygwin one).  And Windows people could
work on such programs without having to compile chicken itself.  Very
nice.

It would also be nice to have a binary distribution like this which
works with the MSVC compiler.  But that would require writing an
nmake-compatible makefile.


_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to