guile-user
[Top][All Lists]
Advanced

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

Re: Compiling guile on mingw32


From: Andreas Røsdal
Subject: Re: Compiling guile on mingw32
Date: Wed, 6 Jun 2007 17:40:02 +0200 (CEST)

On Tue, 5 Jun 2007, Cesar Strauss wrote:
I'm trying to compile guile 1.8.1 for the mingw32 platform on Windows.
When running configure, I get this error message:

I was able to compile guile on mingw32.

First, you should use the guile-core-1.8-20070429.tar.gz snapshot, or
use "cvs" to download the code in the 1.8 branch. The unstable branch is
not mingw32 compatible, at the moment.

Then, make sure you configured libtool, gmp and guile with

./configure --prefix=$(cd /mingw && pwd -W)

This will install the libraries at the right location in the MinGW
compiler tree and allow guile to find its data files at run-time.

Also, add to the guile configure line:

--without-libiconv-prefix --without-libintl-prefix

due to a problem in the MinGW gettext support.


Thanks for the help, this worked. Hoever, during compilation, I now get the following compilation error, do you know how to fix this as well?


if [ "no" = "yes" ]; then \
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -c -o gen-scmconfig.o gen-scmconfig.c; \
else \
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -I/mingw/include/glib-2.0 -I/mingw/include/glib-2.0/glib -I/mingw/include -I/mingw/lib -I/mingw/lib/glib-2.0/ -I/mingw/lib/glib-2.0/include -march=i386 -pipe -O3 -Wall -Wmissing-prototypes -Werror -c -o gen-scmconfig.o gen-scmconfig.c; \
fi
In file included from gen-scmconfig.c:126:
C:/MinGW/include/stdio.h:219: warning: no previous prototype for 'vsnprintf'
C:/MinGW/include/stdio.h:258: warning: no previous prototype for 'getc'
C:/MinGW/include/stdio.h:265: warning: no previous prototype for 'putc'
C:/MinGW/include/stdio.h:272: warning: no previous prototype for 'getchar'
C:/MinGW/include/stdio.h:279: warning: no previous prototype for 'putchar'
In file included from gen-scmconfig.c:126:
C:/MinGW/include/stdio.h:401: warning: no previous prototype for 'fopen64'
C:/MinGW/include/stdio.h:413: warning: no previous prototype for 'ftello64' C:/MinGW/include/stdio.h:468: warning: no previous prototype for 'vsnwprintf'
In file included from gen-scmconfig.c:127:
C:/MinGW/include/string.h:97: warning: no previous prototype for 'strcasecmp' C:/MinGW/include/string.h:103: warning: no previous prototype for 'strncasecmp'
make[2]: *** [gen-scmconfig.o] Error 1
make[2]: Leaving directory `/c/devel/guile-core-1.8-20070429/libguile'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/c/devel/guile-core-1.8-20070429'







reply via email to

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