bug-gnulib
[Top][All Lists]
Advanced

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

Re: using gnulib on non posix/gnu systems


From: Paul Eggert
Subject: Re: using gnulib on non posix/gnu systems
Date: Wed, 26 Apr 2006 23:21:01 -0700
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

Juan Manuel Guerrero <address@hidden> writes:

> The compilation of getopt.c fails because in the design of this file
> it is assumed that NLS support is available either through the
> system libc library or through ported versions of gettext and iconv
> libraries. On MSDOS/WINDOWS systems this can not always be assumed
> to be true.

The getopt module depends on the gettext-h module, and the gettext-h
module supplies gettext.h.  It sounds like you missed this dependency.

Let's put it this way: my Debian GNU/Linux stable machine doesn't have
a gettext.h either, but I can compile getopt.c without trouble here,
because packages that supply the gnulib module also supply the
gettext-h module.

> If the design goal of gnulib is really to ease the
> required porting work from posix/gnu systems to non-posix systems

Well, hmm, to be frank, that's not a principal design goal of gnulib.
Most of gnulib is aimed at Posix (or almost-Posix) systems, not at
non-Posix systems.  If a port to non-Posix is easy, fine, but if not
then it's probably not worth the aggravation.




reply via email to

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