]> rtime.felk.cvut.cz Git - rtems-devel.git/blob - rtems-build/arm-rtems/gcc/gcc-arm-rtems4.10.cfg
Add set of patches for RTEMS 4.11 release.
[rtems-devel.git] / rtems-build / arm-rtems / gcc / gcc-arm-rtems4.10.cfg
1 # `configure' configures this package to adapt to many kinds of systems.
2
3 # Usage: ../../../src/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 #   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
39 #   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
40 #   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
41 #   --libdir=DIR            object code libraries [EPREFIX/lib]
42 #   --includedir=DIR        C header files [PREFIX/include]
43 #   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
44 #   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
45 #   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
46 #   --infodir=DIR           info documentation [DATAROOTDIR/info]
47 #   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
48 #   --mandir=DIR            man documentation [DATAROOTDIR/man]
49 #   --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
50 #   --htmldir=DIR           html documentation [DOCDIR]
51 #   --dvidir=DIR            dvi documentation [DOCDIR]
52 #   --pdfdir=DIR            pdf documentation [DOCDIR]
53 #   --psdir=DIR             ps documentation [DOCDIR]
54
55 # Program names:
56 #   --program-prefix=PREFIX            prepend PREFIX to installed program names
57 #   --program-suffix=SUFFIX            append SUFFIX to installed program names
58 #   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
59
60 # System types:
61 #   --build=BUILD     configure for building on BUILD [guessed]
62 #   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
63 #   --target=TARGET   configure for building compilers for TARGET [HOST]
64
65 # Optional Features:
66 #   --disable-option-checking  ignore unrecognized --enable/--with options
67 #   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
68 #   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
69 #   --enable-generated-files-in-srcdir
70 #                           put copies of generated files in source dir intended
71 #                           for creating source tarballs for users without
72 #                           texinfo bison or flex
73 #   --disable-largefile     omit support for large files
74 #   --enable-werror-always  enable -Werror despite compiler version
75 #   --enable-checking[=LIST]
76 #                           enable expensive run-time checks. With LIST, enable
77 #                           only specific categories of checks. Categories are:
78 #                           yes,no,all,none,release. Flags are:
79 #                           assert,df,fold,gc,gcac,gimple,misc,
80 #                           rtlflag,rtl,runtime,tree,valgrind,types
81 #   --enable-coverage[=LEVEL]
82 #                           enable compiler's code coverage collection. Use to
83 #                           measure compiler performance and locate unused parts
84 #                           of the compiler. With LEVEL, specify optimization.
85 #                           Values are opt, noopt, default is noopt
86 #   --enable-gather-detailed-mem-stats
87 #                           enable detailed memory allocation stats gathering
88 #   --enable-multilib       enable library support for multiple ABIs
89 #   --enable-multiarch      enable support for multiarch paths
90 #   --enable-__cxa_atexit   enable __cxa_atexit for C++
91 #   --enable-decimal-float={no,yes,bid,dpd}
92 #                       enable decimal float extension to C.  Selecting 'bid'
93 #                       or 'dpd' choses which decimal floating point format
94 #                       to use
95 #   --enable-fixed-point    enable fixed-point arithmetic extension to C
96 #   --enable-threads[=LIB]  enable thread usage for target GCC, using LIB thread
97 #                           package
98 #   --enable-tls            enable or disable generation of tls code overriding
99 #                           the assembler check for tls support
100 #   --enable-objc-gc        enable the use of Boehm's garbage collector with the
101 #                           GNU Objective-C runtime
102 #   --disable-shared        don't provide a shared libgcc
103 #   --enable-languages=LIST specify which front-ends to build
104 #   --disable-rpath         do not hardcode runtime library paths
105 #   --enable-sjlj-exceptions
106 #                           arrange to use setjmp/longjmp exception handling
107 #   --enable-secureplt      enable -msecure-plt by default for PowerPC
108 #   --enable-leading-mingw64-underscores
109 #                           enable leading underscores on 64 bit mingw targets
110 #   --enable-cld            enable -mcld by default for 32bit x86
111 #   --enable-frame-pointer  enable -fno-omit-frame-pointer by default for 32bit
112 #                           x86
113 #   --disable-win32-registry
114 #                           disable lookup of installation paths in the Registry
115 #                           on Windows hosts
116 #   --enable-win32-registry enable registry lookup (default)
117 #   --enable-win32-registry=KEY
118 #                           use KEY instead of GCC version as the last portion
119 #                           of the registry key
120 #   --enable-shared[=PKGS]  build shared libraries [default=yes]
121 #   --enable-static[=PKGS]  build static libraries [default=yes]
122 #   --enable-fast-install[=PKGS]
123 #                           optimize for fast installation [default=yes]
124 #   --disable-libtool-lock  avoid locking (might break parallel builds)
125 #   --enable-gnu-indirect-function
126 #                           enable the use of the @gnu_indirect_function to
127 #                           glibc systems
128 #   --enable-initfini-array     use .init_array/.fini_array sections
129 #   --enable-comdat         enable COMDAT group support
130 #   --enable-gnu-unique-object
131 #                           enable the use of the @gnu_unique_object ELF
132 #                           extension on glibc systems
133 #   --enable-linker-build-id
134 #                           compiler will always pass --build-id to linker
135 #   --enable-maintainer-mode
136 #                           enable make rules and dependencies not useful (and
137 #                           sometimes confusing) to the casual installer
138 #   --enable-version-specific-runtime-libs
139 #                           specify that runtime libraries should be installed
140 #                           in a compiler-specific directory
141 #   --enable-plugin         enable plugin support
142 #   --disable-libquadmath-support
143 #                           disable libquadmath support for Fortran
144
145 # Optional Packages:
146 #   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
147 #   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
148 #   --with-build-libsubdir=DIR  Directory where to find libraries for build system
149 #   --with-local-prefix=DIR specifies directory to put local include
150 #   --with-gxx-include-dir=DIR
151 #                           specifies directory to put g++ header files
152 #   --with-cpp-install-dir=DIR
153 #                           install the user visible C preprocessor in DIR
154 #                           (relative to PREFIX) as well as PREFIX/bin
155 #   --with-gnu-ld           arrange to work with GNU ld
156 #   --with-ld               arrange to use the specified ld (full pathname)
157 #   --with-demangler-in-ld  try to use demangler in GNU ld
158 #   --with-gnu-as           arrange to work with GNU as
159 #   --with-as               arrange to use the specified as (full pathname)
160 #   --with-stabs            arrange to use stabs instead of host debug format
161 #   --with-dwarf2           force the default debug format to be DWARF 2
162 #   --with-native-system-header-dir=dir
163 #                           use dir as the directory to look for standard
164 #                           system header files in.  Defaults to /usr/include.
165 #   --with-build-sysroot=sysroot
166 #                           use sysroot as the system root during the build
167 #   --with-sysroot[=DIR]    search for usr/lib, usr/include, et al, within DIR
168 #   --with-specs=SPECS      add SPECS to driver command-line processing
169 #   --with-pkgversion=PKG   Use PKG in the version string in place of "GCC"
170 #   --with-bugurl=URL       Direct users to URL to report a bug
171 #   --with-multilib-list    select multilibs (SH and x86-64 only)
172 #   --with-gnu-ld           assume the C compiler uses GNU ld default=no
173 #   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
174 #   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
175 #   --with-pic              try to use only PIC/non-PIC objects [default=use
176 #                           both]
177 #   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
178 #   --with-plugin-ld=[ARG]  specify the plugin linker
179 #   --with-long-double-128  use 128-bit long double by default
180 #   --with-gc={page,zone}   this option is not supported anymore. It used to
181 #                           choose the garbage collection mechanism to use with
182 #                           the compiler
183 #   --with-system-zlib      use installed libz
184 #   --with-linker-hash-style={sysv,gnu,both}
185 #                           specify the linker hash style
186
187 # Some influential environment variables:
188 #   CC          C compiler command
189 #   CFLAGS      C compiler flags
190 #   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
191 #               nonstandard directory <lib dir>
192 #   LIBS        libraries to pass to the linker, e.g. -l<library>
193 #   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
194 #               you have headers in a nonstandard directory <include dir>
195 #   CXX         C++ compiler command
196 #   CXXFLAGS    C++ compiler flags
197 #   CPP         C preprocessor
198 #   CXXCPP      C++ preprocessor
199 #   GMPLIBS     How to link GMP
200 #   GMPINC      How to find GMP include files
201 #   ISLLIBS     How to link ISL
202 #   ISLINC      How to find ISL include files
203 #   CLOOGLIBS   How to link CLOOG
204 #   CLOOGINC    How to find CLOOG include files
205
206 # Use these variables to override the choices made by `configure' or to help
207 # it to find libraries and programs with nonstandard names/locations.
208
209 # Report bugs to the package provider.
210
211
212 # ../configure --prefix=/usr --libdir=/usr/lib --with-slibdir=/lib
213 # --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared 
214 # --enable-threads=posix --disable-checking --enable-long-long
215 # --enable-__cxa_atexit --enable-clocale=gnu --disable-libunwind-exceptions
216 # --enable-languages=c,c++,f77,objc,java --host=i586-mandrake-linux-gnu
217 # --with-system-zlib
218 # --with-sysroot=DIR --with-headers=DIR --without-headers --with-libs=``DIR1 DIR2 ... DIRN'' 
219 #
220 # ../gcc-3.4.0/configure --target=arm-linux --prefix=/usr/local/arm920/3.4.0 --host=i686-pc-linux-gnu --with-cpu=arm9 \
221 # --with-headers=/usr/src/arm920/elroy-jack/sw/linux-2.6.6/include --disable-shared --disable-threads --enable-languages=c \
222 # --with-float=soft --disable-nls --enable--symvers=gnu --enable-__cxa_atexit
223 # make
224 # make install
225 #
226 # ../glibc-2.3.2/configure --host=arm-linux --build=i686-pc-linux-gnu \
227 # --with-headers=/usr/src/arm920/elroy-jack/sw/linux-2.6.6/include  \
228 # --enable-add-ons=linuxthreads --enable-shared --prefix=/usr/local/arm920/3.4.0 \
229 # --with-cpu=arm9 --without-fp --enable-kernel=2.6.6
230 # --with-cpu=arm9 --with-float=soft
231 # make
232 # make install
233
234 #             --host=i586-pc-linux-gnu \
235 #             --build=x86_64-pc-linux-gnu  \
236
237 CFLAGS="-O2 -pipe" LDFLAGS=-s \
238 ../../../src/gcc/configure --target=arm-rtems4.10 --prefix=/usr \
239              --enable-languages=c,c++ \
240              --disable-libstdcxx-pch \
241              --with-gnu-ld \
242              --with-gnu-as \
243              --enable-threads=rtems \
244              --enable-target-optspace \
245              --with-system-zlib \
246              --verbose \
247              --disable-nls --without-included-gettext \
248              --disable-win32-registry \
249              --with-newlib \
250              --enable-newlib-io-c99-formats \
251              --enable-version-specific-runtime-libs \
252              --enable-newlib-iconv \
253              --disable-lto \
254              --without-ppl \
255              --without-cloog