xref: /titanic_51/usr/src/cmd/ast/README.ast (revision 4f7d552c65de4ebfc45c367d5c127dfdf59a363b)
1b4dd7d09SAndy FiddamanThis area contains the build configuration for selected AT&T Software Technology
2b4dd7d09SAndy Fiddaman(AST) libraries and commands. In particular ksh (the illumos /bin/sh), its
3b4dd7d09SAndy Fiddamansupporting libraries and and a small number of system commands, see
4b4dd7d09SAndy Fiddaman./ksh/builtins/alias.c
5b4dd7d09SAndy Fiddaman
6b4dd7d09SAndy FiddamanThe source for these components is in usr/src/contrib/ast/; see the README
7b4dd7d09SAndy Fiddamanfile there for more information.
8b4dd7d09SAndy Fiddaman
9b4dd7d09SAndy FiddamanThe AST library builds use FEATURE files to describe the capabilities of the
10b4dd7d09SAndy Fiddamanhost system and build environment (similar to the output from tools like
11b4dd7d09SAndy FiddamanGNU autoconf). In order to support cross compilation and ensure reproducible
12b4dd7d09SAndy Fiddamanbuilds, these files are present in this tree under libXXX/<arch>/FEATURE/
13b4dd7d09SAndy Fiddamanalongside a small number of other generated files.
14b4dd7d09SAndy Fiddaman
15b4dd7d09SAndy FiddamanThe FEATURE files can be re-generated based on the current contents of
16b4dd7d09SAndy Fiddamanproto using 'make _feature' in this directory. This should be done after
17b4dd7d09SAndy Fiddamanadding new features to the standard libraries that AST can detect and use.
18b4dd7d09SAndy FiddamanThis needs to be done for all supported architectures.
19*4f7d552cSAndy Fiddaman
20*4f7d552cSAndy FiddamanNote that for the moment, as long as building gate using gcc 4.4.4 as the
21*4f7d552cSAndy Fiddamanprimary compiler is supported, libast/i386/FEATURE/aso has some additional
22*4f7d552cSAndy Fiddamanlocal edits to use the appropriate atomic ops for 32-bit objects built
23*4f7d552cSAndy Fiddamanwith this version of gcc.
24