]> rtime.felk.cvut.cz Git - rtems-devel.git/blob - rtems-build/arm-csb336/gcc/gcc-arm9-rtems.cfg
feeaab965890c2e3197678c180baebc299e66fc5
[rtems-devel.git] / rtems-build / arm-csb336 / gcc / gcc-arm9-rtems.cfg
1 # `configure' configures this package to adapt to many kinds of systems.
2
3 # Usage: ../../gcc/configure [OPTION]... [VAR=VALUE]...
4
5 # To assign environment variables (e.g., CC, CFLAGS...), specify them as
6 # VAR=VALUE.  See below for descriptions of some of the useful variables.
7
8 # Defaults for the options are specified in brackets.
9
10 # Configuration:
11 #   -h, --help              display this help and exit
12 #       --help=short        display options specific to this package
13 #       --help=recursive    display the short help of all the included packages
14 #   -V, --version           display version information and exit
15 #   -q, --quiet, --silent   do not print `checking...' messages
16 #       --cache-file=FILE   cache test results in FILE [disabled]
17 #   -C, --config-cache      alias for `--cache-file=config.cache'
18 #   -n, --no-create         do not create output files
19 #       --srcdir=DIR        find the sources in DIR [configure dir or `..']
20
21 # Installation directories:
22 #   --prefix=PREFIX         install architecture-independent files in PREFIX
23 #                           [/usr/local]
24 #   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
25 #                           [PREFIX]
26
27 # By default, `make install' will install all the files in
28 # `/usr/local/bin', `/usr/local/lib' etc.  You can specify
29 # an installation prefix other than `/usr/local' using `--prefix',
30 # for instance `--prefix=$HOME'.
31
32 # For better control, use the options below.
33
34 # Fine tuning of the installation directories:
35 #   --bindir=DIR           user executables [EPREFIX/bin]
36 #   --sbindir=DIR          system admin executables [EPREFIX/sbin]
37 #   --libexecdir=DIR       program executables [EPREFIX/libexec]
38 #   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
39 #   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
40 #   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
41 #   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
42 #   --libdir=DIR           object code libraries [EPREFIX/lib]
43 #   --includedir=DIR       C header files [PREFIX/include]
44 #   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
45 #   --infodir=DIR          info documentation [PREFIX/info]
46 #   --mandir=DIR           man documentation [PREFIX/man]
47
48 # Program names:
49 #   --program-prefix=PREFIX            prepend PREFIX to installed program names
50 #   --program-suffix=SUFFIX            append SUFFIX to installed program names
51 #   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
52
53 # System types:
54 #   --build=BUILD     configure for building on BUILD [guessed]
55 #   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
56 #   --target=TARGET   configure for building compilers for TARGET [HOST]
57
58 # Optional Features:
59 #   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
60 #   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
61 #   --enable-generated-files-in-srcdir
62 #                           put copies of generated files in source dir
63 #                           intended for creating source tarballs for users
64 #                           without texinfo bison or flex.
65 #   --enable-werror         enable -Werror in bootstrap stage2 and later
66 #   --enable-checking=LIST
67 #                         enable expensive run-time checks.  With LIST,
68 #                         enable only specific categories of checks.
69 #                         Categories are: misc,tree,rtl,rtlflag,gc,gcac,fold;
70 #                         default is no checking
71 #   --enable-coverage=LEVEL
72 #                         enable compiler\'s code coverage collection.
73 #                         Use to measure compiler performance and locate
74 #                         unused parts of the compiler. With LEVEL, specify
75 #                         optimization. Values are opt, noopt,
76 #                         default is noopt
77 #   --enable-gather-detailed-mem-stats         enable detailed memory allocation stats gathering
78 #   --enable-multilib       enable library support for multiple ABIs
79 #   --enable-__cxa_atexit   enable __cxa_atexit for C++
80 #   --enable-threads        enable thread usage for target GCC
81 #   --enable-threads=LIB    use LIB thread package for target GCC
82 #   --enable-objc-gc      enable the use of Boehm's garbage collector with
83 #                         the GNU Objective-C runtime
84 #   --disable-shared        don't provide a shared libgcc
85 #   --enable-intermodule    build the compiler in one step
86 #   --enable-initfini-array     use .init_array/.fini_array sections
87 #   --enable-sjlj-exceptions
88 #                           arrange to use setjmp/longjmp exception handling
89 #   --enable-libunwind-exceptions  force use libunwind for exceptions
90 #   --disable-win32-registry
91 #                           disable lookup of installation paths in the
92 #                           Registry on Windows hosts
93 #   --enable-win32-registry enable registry lookup (default)
94 #   --enable-win32-registry=KEY
95 #                           use KEY instead of GCC version as the last portion
96 #                           of the registry key
97 #   --enable-maintainer-mode
98 #                           enable make rules and dependencies not useful
99 #                           (and sometimes confusing) to the casual installer
100 #   --enable-version-specific-runtime-libs
101 #                           specify that runtime libraries should be
102 #                           installed in a compiler-specific directory
103
104 # Optional Packages:
105 #   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
106 #   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
107 #   --with-local-prefix=DIR specifies directory to put local include
108 #   --with-gxx-include-dir=DIR
109 #                           specifies directory to put g++ header files
110 #   --with-cpp-install-dir=DIR
111 #                           install the user visible C preprocessor in DIR
112 #                           (relative to PREFIX) as well as PREFIX/bin
113 #   --with-gnu-ld           arrange to work with GNU ld.
114 #   --with-ld               arrange to use the specified ld (full pathname)
115 #   --with-gnu-as           arrange to work with GNU as
116 #   --with-as               arrange to use the specified as (full pathname)
117 #   --with-stabs            arrange to use stabs instead of host debug format
118 #   --with-dwarf2           force the default debug format to be DWARF 2
119 #   --with-sysroot=DIR Search for usr/lib, usr/include, et al, within DIR.
120 #   --with-libiconv-prefix=DIR  search for libiconv in DIR/include and DIR/lib
121 #   --with-gc={simple,page,zone} choose the garbage collection mechanism to use
122 #                           with the compiler
123 #   --with-system-zlib      use installed libz
124 #   --with-slibdir=DIR      shared libraries in DIR LIBDIR
125
126 # Some influential environment variables:
127 #   CC          C compiler command
128 #   CFLAGS      C compiler flags
129 #   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
130 #               nonstandard directory <lib dir>
131 #   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
132 #               headers in a nonstandard directory <include dir>
133 #   CPP         C preprocessor
134
135 # Use these variables to override the choices made by `configure' or to help
136 # it to find libraries and programs with nonstandard names/locations.
137
138 # ../configure --prefix=/usr --libdir=/usr/lib --with-slibdir=/lib
139 # --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared 
140 # --enable-threads=posix --disable-checking --enable-long-long
141 # --enable-__cxa_atexit --enable-clocale=gnu --disable-libunwind-exceptions
142 # --enable-languages=c,c++,f77,objc,java --host=i586-mandrake-linux-gnu
143 # --with-system-zlib
144 # --with-sysroot=DIR --with-headers=DIR --without-headers --with-libs=``DIR1 DIR2 ... DIRN'' 
145 #
146 # ../gcc-3.4.0/configure --target=arm-linux --prefix=/usr/local/arm920/3.4.0 --host=i686-pc-linux-gnu --with-cpu=arm9 \
147 # --with-headers=/usr/src/arm920/elroy-jack/sw/linux-2.6.6/include --disable-shared --disable-threads --enable-languages=c \
148 # --with-float=soft --disable-nls --enable--symvers=gnu --enable-__cxa_atexit
149 # make
150 # make install
151 #
152 # ../glibc-2.3.2/configure --host=arm-linux --build=i686-pc-linux-gnu \
153 # --with-headers=/usr/src/arm920/elroy-jack/sw/linux-2.6.6/include  \
154 # --enable-add-ons=linuxthreads --enable-shared --prefix=/usr/local/arm920/3.4.0 \
155 # --with-cpu=arm9 --without-fp --enable-kernel=2.6.6
156 # make
157 # make install
158
159 #             --host=i586-pc-linux-gnu \
160
161 ../../../gcc/configure --target=arm-rtems4.9 --prefix=/usr \
162              --with-cpu=arm9 \
163              --enable-languages=c,c++ \
164              --disable-libstdcxx-pch \
165              --with-gnu-ld \
166              --with-gnu-as \
167              --with-float=soft \
168              --enable-threads=rtems \
169              --enable-target-optspace \
170              --verbose \
171              --disable-nls --without-included-gettext \
172              --disable-win32-registry \
173              --with-newlib \
174              --enable-newlib-io-c99-formats \
175              --enable-version-specific-runtime-libs