1.1 --- a/scripts/build/cc/gcc.sh Sun Jul 24 19:33:04 2011 +0200
1.2 +++ b/scripts/build/cc/gcc.sh Sun Jul 24 19:24:02 2011 +0200
1.3 @@ -142,16 +142,18 @@
1.4
1.5 #------------------------------------------------------------------------------
1.6 # Build core gcc
1.7 -# This function is used to build both the static and the shared core C compiler,
1.8 -# with or without the target libgcc. We need to know wether:
1.9 -# - we're building static, shared or bare metal: mode=[static|shared|baremetal]
1.10 -# - we need to build libgcc or not : build_libgcc=[yes|no] (default: no)
1.11 -# - we need to build libstdc++ or not : build_libstdcxx=[yes|no] (default: no)
1.12 -# - we need to build statically linked or not : build_staticlinked=[yes|no] (default: no)
1.13 -# - where to find the companion libs (prefix) : complibs=<prefix_dir> (no default value)
1.14 -# - the prefix to install into (directory) : prefix=<directory> (no default value)
1.15 -# - the machine we will run on (tuple) : host=<tuple> (no default tuple)
1.16 -# - the CFLAGS to use : cflags=<CFLAGS> (empty)
1.17 +# This function is used to build the core C compiler.
1.18 +# Usage: do_cc_core_backend param=value [...]
1.19 +# Parameter : Definition : Type : Default
1.20 +# mode : build a 'static', 'shared' or 'baremetal' : string : (none)
1.21 +# host : the machine the core will run on : tuple : (none)
1.22 +# prefix : dir prefix to install into : dir : (none)
1.23 +# complibs : dir where complibs are isntalled : dir : (none)
1.24 +# build_libgcc : build libgcc or not : bool : no
1.25 +# build_libstdcxx : build libstdc++ or not : bool : no
1.26 +# build_staticlinked : build statically linked or not : bool : no
1.27 +# build_manuals : whether to build manuals or not : bool : no
1.28 +# cflags : host CFLAGS to use : string : (empty)
1.29 # Usage: do_cc_core_backend mode=[static|shared|baremetal] build_libgcc=[yes|no] build_staticlinked=[yes|no]
1.30 do_cc_core_backend() {
1.31 local mode
1.32 @@ -499,9 +501,8 @@
1.33 }
1.34
1.35 #------------------------------------------------------------------------------
1.36 -# Build final gcc
1.37 -# Usage: do_cc_backend param=value ...
1.38 -# and so on for other parameters:
1.39 +# Build the final gcc
1.40 +# Usage: do_cc_backend param=value [...]
1.41 # Parameter : Definition : Type : Default
1.42 # host : the host we run onto : tuple : (none)
1.43 # prefix : the runtime prefix : dir : (none)