1@c This file is part of the GNU gettext manual. 2@c Copyright (C) 1995-2020 Free Software Foundation, Inc. 3@c See the file gettext.texi for copying conditions. 4 5@node GCC-source 6@subsection GNU Compiler Collection sources 7@cindex GCC-source 8 9@table @asis 10@item RPMs 11gcc 12 13@item Ubuntu packages 14gcc 15 16@item File extension 17@code{c}, @code{h}. 18 19@item String syntax 20@code{"abc"} 21 22@item gettext shorthand 23@code{_("abc")} 24 25@item gettext/ngettext functions 26@code{gettext}, @code{dgettext}, @code{dcgettext}, @code{ngettext}, 27@code{dngettext}, @code{dcngettext} 28 29@item textdomain 30@code{textdomain} function 31 32@item bindtextdomain 33@code{bindtextdomain} function 34 35@item setlocale 36Programmer must call @code{setlocale (LC_ALL, "")} 37 38@item Prerequisite 39@code{#include "intl.h"} 40 41@item Use or emulate GNU gettext 42Use 43 44@item Extractor 45@code{xgettext -k_} 46 47@item Formatting with positions 48--- 49 50@item Portability 51Uses autoconf macros 52 53@item po-mode marking 54yes 55@end table 56