From: Han-Wen Nienhuys <hanwen@xs4all.nl>
To: bug-guile@gnu.org
Subject: Re: i18n broken on mingw cross compile
Date: Tue, 09 Sep 2008 23:38:28 -0300 [thread overview]
Message-ID: <ga7c1p$jfq$1@ger.gmane.org> (raw)
In-Reply-To: <87ljy17jk9.fsf@gnu.org>
Ludovic Courtès escreveu:
> Hi,
>
> Han-Wen Nienhuys <hanwen@xs4all.nl> writes:
>
>> i686-mingw32-gcc -mms-bitfields -DHAVE_CONFIG_H -I/home/lilydev/vc/gub/target/mingw/src/guile-1.9.git -I.. -I/home/lilydev/vc/gub/target/mingw/src/guile-1.9.git/lib -I../lib -Wall -Wmissing-prototypes -g -O2 -MT libguile_i18n_v_0_la-i18n.lo -MD -MP -MF .deps/libguile_i18n_v_0_la-i18n.Tpo -c /home/lilydev/vc/gub/target/mingw/src/guile-1.9.git/libguile/i18n.c -DDLL_EXPORT -DPIC -o .libs/libguile_i18n_v_0_la-i18n.o
>> In file included from /home/lilydev/vc/gub/target/mingw/src/guile-1.9.git/libguile/i18n.c:296:
>> /home/lilydev/vc/gub/target/mingw/src/guile-1.9.git/libguile/locale-categories.h: In function 'get_current_locale_settings':
>> /home/lilydev/vc/gub/target/mingw/src/guile-1.9.git/libguile/locale-categories.h:24: error: 'LC_MESSAGES' undeclared (first use in this function)
>> /home/lilydev/vc/gub/target/mingw/src/guile-1.9.git/libguile/locale-categories.h:24: error: (Each undeclared identifier is reported only once
>> /home/lilydev/vc/gub/target/mingw/src/guile-1.9.git/libguile/locale-categories.h:24: error: for each function it appears in.)
>
> Can you try out the attached patch?
Seems to work.
Next problem:
In file included from /home/lilydev/vc/gub/target/mingw/root/usr/include/sys/time.h:3,
from ../libguile/scmconfig.h:25,
from /home/lilydev/vc/gub/target/mingw/src/guile-1.9.git/libguile/__scm.h:52,
from /home/lilydev/vc/gub/target/mingw/src/guile-1.9.git/libguile.h:30,
from /home/lilydev/vc/gub/target/mingw/src/guile-1.9.git/libguile/discouraged.c:22:
../lib/time.h:76: error: expected ';', ',' or ')' before '__timer'
../lib/time.h:78: error: expected ';', ',' or ')' before '__timer'
This is 7ddb9baf80744f0ea4810c35b465d96f4833875, with your patch on top.
Curiously, the same location in uncompiled source (my guile devel
directory) has an #if 0 rather than #if 1 around the code.
--
Han-Wen Nienhuys - hanwen@xs4all.nl - http://www.xs4all.nl/~hanwen
next prev parent reply other threads:[~2008-09-10 2:38 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-08 14:07 i18n broken on mingw cross compile Han-Wen Nienhuys
2008-09-09 9:30 ` Ludovic Courtès
2008-09-09 14:02 ` Han-Wen Nienhuys
2008-09-09 14:42 ` Ludovic Courtès
2008-09-10 2:38 ` Han-Wen Nienhuys [this message]
2008-09-11 19:41 ` Ludovic Courtès
2008-09-12 7:45 ` Ludovic Courtès
2008-09-13 3:27 ` Han-Wen Nienhuys
2008-09-13 3:54 ` Han-Wen Nienhuys
2008-09-13 13:55 ` Ludovic Courtès
2008-09-13 15:13 ` Han-Wen Nienhuys
2008-09-13 18:16 ` Ludovic Courtès
2008-09-13 18:50 ` Han-Wen Nienhuys
2008-09-13 20:06 ` Ludovic Courtès
2008-09-13 15:47 ` Han-Wen Nienhuys
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='ga7c1p$jfq$1@ger.gmane.org' \
--to=hanwen@xs4all.nl \
--cc=bug-guile@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).