Namazu-devel-ja(旧)


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Win32 port of Guile (Re: Cross Platform Support)



Ryuji Abe <raeva@xxxxxxxxxxxx> wrote:

>zlib, glib, libiconvはWin32に対応しています。問題はguileです。
>実はCygwinで動いたという例さえ知らない...

Guile メイリングリストでちょうど話題になりました。
<http://sources.redhat.com/ml/guile/2000-08/>

Jan Nieuwenhuizen <janneke@xxxxxxx> wrote:

| > I would like to know if Guile could be easyly ported to Win32.
| 
| For the biggest part, it's already been done using Cygnus's GNU/Windows
| environment, just type ./configure; make.  Also, see:
| 
|     http://appel.dyndns.org/lilypond/gnu-windows/tar/
| 
| Problems include let-*, and regex stuff.

David Vrabel <dv207@xxxxxxxxxxxxxxxx> wrote:

| > Problems include let-*, and regex stuff.
| 
| I believe that the latest Cygwin stuff has POSIX regex stuff in
| it.  Otherwise use rx or regex from
|    ftp://ftp.gnu.org/pub/gnu/regex
|    ftp://ftp.gnu.org/pub/gnu/rx

このバイナリはどうでしょう?
<http://appel.dyndns.org/lilypond/gnu-windows/tar/guile-1.4-i686-cygwin.bin.tar.gz>

libguile は使えるかな?

  % cat hello.c
  #include <guile/gh.h>

  static void
  inner_main (void *closure, int argc, char **argv)
  {
      gh_eval_str("(display \"Hello, world!\")");
      gh_eval_str("(newline)");
  }

  int 
  main (int argc, char **argv)
  {
      scm_boot_guile (argc, argv, inner_main, 0);
      return 0; /* never reached */
  }

  % gcc -o hello hello.c `guile-config link`   
  % ./hello 
  Hello, world!

-- Satoru Takabayashi