xref: /titanic_54/usr/src/cmd/ast/README.ast (revision d8bd5113ef56e1319ecc5f328d7a83c50871df64)
1906afcb8SAndy FiddamanThis area contains the build configuration for selected AT&T Software Technology
2906afcb8SAndy Fiddaman(AST) libraries and commands. In particular ksh (the illumos /bin/sh), its
3906afcb8SAndy Fiddamansupporting libraries and and a small number of system commands, see
4906afcb8SAndy Fiddaman./ksh/builtins/alias.c
5906afcb8SAndy Fiddaman
6906afcb8SAndy FiddamanThe source for these components is in usr/src/contrib/ast/; see the README
7906afcb8SAndy Fiddamanfile there for more information.
8906afcb8SAndy Fiddaman
9906afcb8SAndy FiddamanThe AST library builds use FEATURE files to describe the capabilities of the
10906afcb8SAndy Fiddamanhost system and build environment (similar to the output from tools like
11906afcb8SAndy FiddamanGNU autoconf). In order to support cross compilation and ensure reproducible
12906afcb8SAndy Fiddamanbuilds, these files are present in this tree under libXXX/<arch>/FEATURE/
13906afcb8SAndy Fiddamanalongside a small number of other generated files.
14906afcb8SAndy Fiddaman
15906afcb8SAndy FiddamanThe FEATURE files can be re-generated based on the current contents of
16906afcb8SAndy Fiddamanproto using 'make _feature' in this directory. This should be done after
17906afcb8SAndy Fiddamanadding new features to the standard libraries that AST can detect and use.
18906afcb8SAndy FiddamanThis needs to be done for all supported architectures.
19*d8bd5113SAndy Fiddaman
20*d8bd5113SAndy FiddamanNote that for the moment, as long as building gate using gcc 4.4.4 as the
21*d8bd5113SAndy Fiddamanprimary compiler is supported, libast/i386/FEATURE/aso has some additional
22*d8bd5113SAndy Fiddamanlocal edits to use the appropriate atomic ops for 32-bit objects built
23*d8bd5113SAndy Fiddamanwith this version of gcc.
24