X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=nKVqc171D/K/xSeBA2FS4f+HRWjU+x7ENF8Vrlvwd6A=; b=flVGgZ8cpAqsp1NOqB9nZtXphFUG2ZEyByJE9AZ6Wtk7KpSS9lnXI2mpPj+jL1GRBF WnnDuVLgeLzMTPnkYBv0Ex71CZROSE+b0W5rqCyoWze9UgjEll/+PuAARx2GqwSnDXhq jCFABYHAbm1pILZMdbA78a540z1lhKxepYLLIrZDNu4HMu2JIDta3GDoax/3DYUgp8ec g0LDGlYn1qsU5DbXSgfw4xU5l8ow1pP9ezwOg66xJFgfLbcpAJOrdYTxxyHQseSRM7Ne v+NiHNLFTh+ojatUL5/eHXTM4Wu8mZ5qtKZxzLfmGMvOAro5rMb8zrBAVNhGqWkpJJ8x B9OQ== MIME-Version: 1.0 X-Received: by 10.53.0.164 with SMTP id az4mr7350075vdd.52.1410312125901; Tue, 09 Sep 2014 18:22:05 -0700 (PDT) In-Reply-To: References: Date: Tue, 9 Sep 2014 18:22:05 -0700 Message-ID: Subject: Re: [geda-user] Regarding Windows From: Jason White To: geda-user AT delorie DOT com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id s8A1MA9S004767 Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk So correct me if I'm wrong. Guile depends on glib, as things stand either glib or guile are pulling in Linux system related stuff on windows builds. Presumably guile's build configuration is messed up? Or is MXE/mingw to blame? Other important things? If I can find some spare time I might try to build guile and/or its dependencies independent of any program. If that can be made to work, then differences between the working and the faulty might be identifiable (That's all a big maybe, depending on how involved things get) On Tue, Sep 9, 2014 at 1:44 PM, Kai-Martin Knaak wrote: > 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 > > > -- Jason White