build with
export PACKAGE_OPTIONS=optimize-space
if you are doing a map-libc build then use
export PACKAGE_OPTIONS=map-libc,optimize-space
this also makes all src/cmd/builtin installed a.out's a hard link
to one a.out dynamically linked to -lcmd that uses $0 to determine
which -lcmd b_*() builtin to call
this is what we used to build for the arm device (before we lost it)
the intention is that "optimize-space" should be referenced in parts of
the build to decide space/time tradeoffs -- where "space" typically means
disk footprint, but could also mean memory footprint
besides src/cmd/nmake/Makerules.mk, which implements the bulk of the
optimize-space magic, these makfiles reference it
src/cmd/builtin/Makefile
src/cmd/ksh93/Makefile
src/cmd/tksh/Makefile
On Sun, 3 Jun 2012 08:10:41 +0200 =?KOI8-R?B?z8zYx8Egy9LZ1sHOz9fTy8HR?= wrote:
> How can I get a dynamically linked, i.e. ksh using libshell.so,
> libcmd.so, libast.so etc, ksh from ast-open?
_______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers