[ksh93-integration-discuss] Re:[osol-code]Roundtwo:((pre-)pre-review)ksh93-integrationwebrev2007-02-02

Glenn Fowler gsf at research.att.com
Wed Mar 14 23:26:16 PDT 2007


On Thu, 15 Mar 2007 13:57:20 +0800 Peter Memishian wrote:
>  > >    ./lib/libpp/sparc/gentab

used to generate #define and static const table data for libpp
driven by table data that is the same for all platforms
its not iffe/configure in the pure sense
just a mechanism to specify multiple usage for one item once
e.g., for cpp the item
	define
may have an associated
	#define KEY_DEFINE	123
	#define SAW_DEFINE	0x0100
	struct symtab { "define", KEY_DEFINE, do_define, ... };

>  > >  > ./lib/libpp/common/ppsym.c
>  > >    ./lib/libpp/sparc/probe
>  > >    ./lib/libpp/sparc/probe.sh

ppsym.c => ppsym and probe.sh => probe are helpers for the libpp
runtime that probe each "cc" for probe info

a probe for each "cc" is done once and shared by all users
this is not something that can be precomputed
because although there may be one true ON there are still many
"cc"'s, and even the same "cc" may wear different hats,
e.g.
	CC = cc -x ansi
	CC = cc -x knr

libpp is used by the l10n message catalog generator to extract
the l10n strings

I'm not sure how/where the catalog generation is being integrated

-- Glenn Fowler -- AT&T Research, Florham Park NJ --




More information about the ksh93-integration-discuss mailing list