[ksh93-integration-discuss] libcmd/*/include/ast/cmd.h

Glenn Fowler gsf at research.att.com
Thu Sep 7 21:03:44 PDT 2006


the default ast build places all installed and generated files in the
$PACKAGEROOT/arch/$HOSTTYPE subtree

generated headers will contain the grep pattern
	' : : generated from '
these may (and probably will) differ between $HOSTTYPEs

installed headers are passed through the ast proto command
(for KnR and C++ compatibility) and contain the grep pattern
	' : : generated by '

so headers installed from source will be the same across $HOSTTYPEs
and will not contain ' : : generated from '

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

On Fri, 08 Sep 2006 05:39:19 +0200 Roland Mainz wrote:
> Mike Kupfer wrote:
> > 
> > While reviewing the webrev, I noticed that the sparc and i386 versions
> > of this file are the same.  Are the sparcv9 and amd64 versions also the
> > same?  Is it possible to reduce the amount of duplicate code that we'll
> > be checking into the source repository?

> Not really... these sources (e.g. $(MACH)/include and $(MACH)/src) are
> generated during the normal AST build (and then copied over to the
> OS/Net tree) and are (usually) specific for that platform+ISA (e.g.
> 32bit/i386, 64bit/AMD64, 32bit/SPARC, 64bit/SPARCv9). There are four or
> five of files which are currently more or less identical from the
> content but that doesn't mean that this won't change in the future...

> ----

> Bye,
> Roland

> -- 
>   __ .  . __
>  (o.\ \/ /.o) roland.mainz at nrubsig.org
>   \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
>   /O /==\ O\  TEL +49 641 7950090
>  (;O/ \/ \O;)
> _______________________________________________
> ksh93-integration-discuss mailing list
> ksh93-integration-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/ksh93-integration-discuss




More information about the ksh93-integration-discuss mailing list