This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Making platform specific help translatable.
> So it really seems as if xgettext fails to recognize it inside of
> TARGET_SWITCHES.
Or any strings inside a #define, for that matter. This, in turn, seems
to be caused by
/* 6. Recognize and carry out directives (it also expands macros on
non-directive lines, which we do not do here). The only directive
we care about is the #line directive. We throw all the others
away. */
of xget-lex.c of xgettext. I could try to come up with a patch to
xgettext that enables recognition of strings inside preprocessor
defines; provided it is acceptable that gcc requires a modified
gettext.
Regards,
Martin