chicken-users
[Top][All Lists]
Advanced

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

[Chicken-users] Chicken on Windows (MinGW)


From: Arthur Maciel
Subject: [Chicken-users] Chicken on Windows (MinGW)
Date: Wed, 12 May 2010 17:39:26 -0300

I tried compiling it with MinGW and worked charmingly.

I'm facing problems installing awful egg, as it complains that required version of 'uri-generic' is older than 2. It says to run 'chicken-install uri-generic:2', but no package is found.

Any help is appreciated.

Congratulation for the wonderful job done. Running chicken on Windows tremendously expands my applications usefulness!

Regards,
Arthur

2010/5/12 Arthur Maciel <address@hidden>
I tried compiling it with MinGW and worked charmly.

I'm facing problems installing awful egg, as it complains that required version of 'uri-generic'


  1. Chicken 4.5.0 on Windows? (Jeronimo Pellegrini)
  2. Re: Chicken 4.5.0 on Windows? (Felix)
  3. Conferences in Germany within the next few months
     (Moritz Heidkamp)


----------------------------------------------------------------------

Message: 1
Date: Wed, 12 May 2010 08:50:33 -0300
From: Jeronimo Pellegrini <address@hidden>
Subject: [Chicken-users] Chicken 4.5.0 on Windows?
To: address@hidden
Message-ID: <address@hidden>
Content-Type: text/plain; charset=utf-8

Hi,

Is Windows a currently supported platform?

I'd like to ask the University to install Chicken Scheme and
some deelopment environments (Emacs+Quack and Eclipse+SchemeWay)
so students can use Chicken here.

The only problem I found was to get Chicken working on Windows.
I've tried compiling using MinGW and also cross-compiling, but
using Windows is not something I really like to do, but it's
important that student can choose the platform they feel more
comfortable with...

Anyway, I tried and found some problems.

Compiling directly on Windows:

X:\chicken-4.5.0>mingw32-make PLATFORM=mingw
mingw32-make -f ./Makefile.mingw CONFIG= all
mingw32-make[1]: Entering directory `X:/chicken-4.5.0'
gcc -fno-strict-aliasing -DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES -I. -I.\ \
         -c -Os \
          \
         -DC_BUILDING_LIBCHICKEN library.c -o library-static.o
In file included from C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/
stdio.h:26,
                from chicken.h:80,
                from library.c:11:
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/include/stddef.h:213: error: syntax error
before string constant
In file included from chicken.h:80,
                from library.c:11:
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdio.h:191: error: syntax error before ‘size_t’


Cross-compiling was a bit trickier, because the name of mingw32-gcc and mingw32-ar
on Debian unstable seem to be different (but I think I got that working).

Anyway, compilation stopped with the same error:

make PLATFORM=cross-linux-mingw CHICKEN=./chicken-boot-4.3.7-linux-x86 C_COMPILER=/usr/bin/i586-mingw32msvc-gcc-4.4.2
make -f ./Makefile.cross-linux-mingw CONFIG= all
make[1]: Entering directory `/home/jeronimo/win/chicken-4.5.0'
/usr/bin/i586-mingw32msvc-gcc-4.4.2 -fno-strict-aliasing -DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES -I. -I./ \
     -c -Os -fomit-frame-pointer \
      \
     -DC_BUILDING_LIBCHICKEN library.c -o library-static.o
In file included from chicken.h:45,
                from library.c:11:
chicken-config.h:1: error: expected identifier or ‘(’ before string constant
In file included from chicken.h:80,
                from library.c:11:
/usr/lib/gcc/i586-mingw32msvc/4.4.2/../../../../i586-mingw32msvc/include/stdio.h:191: error: expected declaration specifiers or ‘...’ before ‘size_t’

It seems that chicken-config.h is not being properly generated:

"/* GENERATED */"
"#define HAVE_DIRENT_H 1"
"#define HAVE_INTTYPES_H 1"
"#define HAVE_LIMITS_H 1"
"#define HAVE_LONG_LONG 1"
...
"#define C_STACK_GROWS_DOWNWARD 1"
"#define C_HACKED_APPLY"

(The double-quotes around each like should probably not have been there, I suppose?)

I'd appreciate any ideas on how to get a 4.5.0 binary for Windows.
Thank you!
J.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]