www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2014/09/09/16:43:07

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Injected-Via-Gmane: http://gmane.org/
To: geda-user AT delorie DOT com
From: Kai-Martin Knaak <knaak AT iqo DOT uni-hannover DOT de>
Subject: Re: [geda-user] Regarding Windows
Date: Tue, 09 Sep 2014 22:44:13 +0200
Organization: Institut =?UTF-8?B?ZsO8cg==?= Quantenoptik
Lines: 111
Message-ID: <lunonk$rin$1@ger.gmane.org>
References: <CAOFvGD5xafHDbHY87O-rSfwgmQYhKtxUeosD0WhDV5xr1Ej1AQ AT mail DOT gmail DOT com>
Mime-Version: 1.0
X-Complaints-To: usenet AT ger DOT gmane DOT org
X-Gmane-NNTP-Posting-Host: 130.75.103.107
User-Agent: KNode/4.14
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id s89KgsjP021978
Reply-To: geda-user AT delorie DOT com

Jason White wrote:

> Hello, as of the present is it possible to compile both gschem and PCB
> to windows. If I recall, linking guile (lisp) was the issue. Has this
> been resolved?

Short answer: No.

Nobody seems to have been able to cross compile guile 2.0 for windows.
While searching forums and mailing lists for hints, I saw contributions
by Eli Zaretski on several occasions. So I contacted him. He has managed
to compile guile natively on windows with a 32-bit MinGW development 
environment. He uploaded the result to sourceforge:
http://sourceforge.net/projects/ezwinports/files/guile-2.0.11-2-w32-bin.zip/download

I tried to insert these files into the MXE cross compile environment. 
However, compile fails with errors. The error message looks more like c++ and 
less like guile. But what do I know. MXE is meant to produce static binaries,
but the download of Eli Zaretski contains *.DLLs . This may be also be a blocker.

---<)kaimartin(>---

PS: Here is the error message I currently get from MXE:
/------------------------
$ make
(...)
make[4]: Entering directory '/usr/local/src/mxe-geda/geda-gaf/libgeda/src'
/bin/bash ../../libtool --silent  --tag=CC   --mode=compile i686-pc-mingw32.static-gcc -DHAVE_CONFIG_H -I. -I../..  
-DLOCALEDIR=\"/usr/local/share/locale\"   -I./../include -I./../include/libgeda -I../..  -Wall   -
Id:/usr/include/guile/2.0  -Id:/usr/include   -I/usr/local/src/mxe-geda/mxe/usr/i686-pc-
mingw32.static/include/glib-2.0 -I/usr/local/src/mxe-geda/mxe/usr/i686-pc-mingw32.static/lib/glib-2.0/include -
mms-bitfields -DPCRE_STATIC   -I/usr/local/src/mxe-geda/mxe/usr/i686-pc-mingw32.static/include/gdk-pixbuf-2.0 -
I/usr/local/src/mxe-geda/mxe/usr/i686-pc-mingw32.static/include/glib-2.0 -I/usr/local/src/mxe-geda/mxe/usr/i686-
pc-mingw32.static/lib/glib-2.0/include -mms-bitfields -DPCRE_STATIC -I/usr/local/src/mxe-geda/mxe/usr/i686-pc-
mingw32.static/include/libpng16   -g -O2 -MT libgeda_la-g_basic.lo -MD -MP -MF .deps/libgeda_la-g_basic.Tpo -c -o 
libgeda_la-g_basic.lo `test -f 'g_basic.c' || echo './'`g_basic.c
In file included from g_basic.c:21:0:
../../missing.h:31:54: error: expected declaration specifiers or '...' before '(' token
 #  define scm_to_utf8_string(x) scm_to_utf8_stringn ((x), NULL)
                                                      ^
In file included from /usr/local/src/mxe-geda/mxe/usr/i686-pc-mingw32.static/include/time.h:21:0,
                 from /usr/local/src/mxe-geda/mxe/usr/i686-pc-mingw32.static/include/glib-2.0/glib/gtypes.h:37,
                 from /usr/local/src/mxe-geda/mxe/usr/i686-pc-mingw32.static/include/glib-2.0/glib/galloca.h:34,
                 from /usr/local/src/mxe-geda/mxe/usr/i686-pc-mingw32.static/include/glib-2.0/glib.h:32,
                 from ./../include/libgeda_priv.h:2,
                 from g_basic.c:37:
../../missing.h:31:59: error: expected declaration specifiers or '...' before '(' token
 #  define scm_to_utf8_string(x) scm_to_utf8_stringn ((x), NULL)
                                                           ^
In file included from g_basic.c:21:0:
../../missing.h:25:58: error: expected declaration specifiers or '...' before '(' token
 #  define scm_from_utf8_string(x) scm_from_utf8_stringn ((x), -1)
                                                          ^
../../missing.h:25:63: error: expected declaration specifiers or '...' before '-' token
 #  define scm_from_utf8_string(x) scm_from_utf8_stringn ((x), -1)
                                                               ^
Makefile:888: recipe for target 'libgeda_la-g_basic.lo' failed
make[4]: *** [libgeda_la-g_basic.lo] Error 1
make[4]: Leaving directory '/usr/local/src/mxe-geda/geda-gaf/libgeda/src'
Makefile:601: recipe for target 'all' failed
make[3]: *** [all] Error 2
make[3]: Leaving directory '/usr/local/src/mxe-geda/geda-gaf/libgeda/src'
Makefile:543: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/usr/local/src/mxe-geda/geda-gaf/libgeda'
Makefile:568: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/usr/local/src/mxe-geda/geda-gaf'
Makefile:497: recipe for target 'all' failed
make: *** [all] Error 2
\----------------------

-- 
Kai-Martin Knaak                                  tel: +49-511-762-2895
Universität Hannover, Inst. für Quantenoptik      fax: +49-511-762-2211	
Welfengarten 1, 30167 Hannover           http://www.iqo.uni-hannover.de
GPG key:    http://pgp.mit.edu:11371/pks/lookup?search=Knaak+kmk&op=get



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019