This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: code changes and i18n dependencies
- To: pthomas@suse.de
- Subject: Re: code changes and i18n dependencies
- From: Manfred Hollstein <mhollstein@cygnus.com>
- Date: Sun, 29 Aug 1999 17:27:18 +0200 (MEST)
- Cc: gcc@gcc.gnu.org, law@cygnus.com
- References: <19990829004958.A11633@Moufang.suse.de>
- Reply-To: Manfred Hollstein <manfred.h@gmx.net>
On Sun, 29 August 1999, 00:49:58, pthomas@suse.de wrote:
> Folks,
> I just compiled my first CVS gcc after starting in my job. And I discovered
> that I had to delete two files from the i18n dependency list
> (gcc/po/POTFILES.in), namely cp/sig.c and gcc/sched.c.
I just installed a fix for this.
>
> So would those of you who change the code in such a way that results in either
> files getting added or deleted PLEASE update gcc/po/POTFILES.in ?
>
> At the moment it's not so much of a problem, as a) NLS is disabled by
> default and b) only messages for en_UK exist.
>
> But I have sent the master catalog file to the maintainer of the FSF i18n
> project, Francois Pinoir, in the hope that translations start to get rolling
> in (that is, besides the german one I'm working on).
>
> It is my wish to get i18n in such a shape that we can start turning it on by
> default and I'll start again working on contributing to that effort as soon
> as I've really settled down.
>
> And the moment i18n support becomes a reality, changes like the ones
> mentioned above will hurt us.
>
> On a side note. Jeff and Manfred, I just discovered that the current configury
> links gcc/intl/libgettext.h to gcc/intl/libintl.h despite the fact that the
> build system (linux and glibc2.1) has libintl.h in /usr/include and gcc was
> configured to *not* use the included gettext. This results in link failure
> because those headers differ in a number of macros.
>
> Question now is how to resolve that failure. I solved it temporarily by
> linking the system libintl.h to gcc/intl but would that also generally be the
> right solution ?
Could you please describe,
(a) how you configured your tree, and
(b) what OS you are using?
I just tried this on Red Hat Linux 6.0:
$ env CC=gcc 'CFLAGS=-O2 -g' 'CXXFLAGS=-O2 -g' LDFLAGS= 'LINGUAS=de es fr it' \
'INSTALL=/usr/bin/install -c' 'INSTALL_DATA=/usr/bin/install -c -m 644' \
'INSTALL_PROGRAM=/usr/bin/install -c -m 755' \
/bin/sh ../egcs-19990829/configure i586-redhat6-linux-gnu --srcdir=../egcs-19990829 \
--prefix=/opt/gnu --with-gnu-as --with-gnu-ld --enable-shared \
--enable-version-specific-runtime-libs --enable-java-gc=boehm \
--enable-fast-character --enable-threads=posix --with-local-prefix=/opt/gnu \
--enable-nls --verbose
...
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for libintl.h... yes
checking for gettext in libc... yes
...
checking whether included gettext is requested... no
checking for libintl.h... (cached) yes
checking for gettext in libc... (cached) yes
AND there is NO link in gcc/intl.
Perhaps, gettext is not properly installed on your system.
>
>
> --
> Philipp Thomas <pthomas@suse.de>
>
> close the window - the penguin is freezing
>
>
> ------------------------------------------------------------
> SuSE GmbH, Tel: +49-911-7405330
> Schanzaeckerstr. 10, Fax: +49-911-3206727
> 90443 Nuernberg, WWW: http://www.suse.de
> Germany
> ------------------------------------------------------------
>
l8er,
manfred