]> rtime.felk.cvut.cz Git - rtems-devel.git/blob - rtems-build/i386-rtems/gcc/gcc-i386-rtems.cfg
Do not include fixed specification of build system in tools configurations.
[rtems-devel.git] / rtems-build / i386-rtems / gcc / gcc-i386-rtems.cfg
1 # `configure' configures this package to adapt to many kinds of systems.
2
3 # Usage: ../../../src/gcc-6.1/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 #   --disable-build-format-warnings
75 #                           don't use -Wformat while building GCC
76 #   --enable-werror-always  enable -Werror despite compiler version
77 #   --enable-checking[=LIST]
78 #                           enable expensive run-time checks. With LIST, enable
79 #                           only specific categories of checks. Categories are:
80 #                           yes,no,all,none,release. Flags are:
81 #                           assert,df,fold,gc,gcac,gimple,misc,
82 #                           rtlflag,rtl,runtime,tree,valgrind,types
83 #   --enable-coverage[=LEVEL]
84 #                           enable compiler's code coverage collection. Use to
85 #                           measure compiler performance and locate unused parts
86 #                           of the compiler. With LEVEL, specify optimization.
87 #                           Values are opt, noopt, default is noopt
88 #   --enable-gather-detailed-mem-stats
89 #                           enable detailed memory allocation stats gathering
90 #   --enable-valgrind-annotations
91 #                           enable valgrind runtime interaction
92 #   --enable-multilib       enable library support for multiple ABIs
93 #   --enable-multiarch      enable support for multiarch paths
94 #   --enable-__cxa_atexit   enable __cxa_atexit for C++
95 #   --enable-decimal-float={no,yes,bid,dpd}
96 #                       enable decimal float extension to C.  Selecting 'bid'
97 #                       or 'dpd' choses which decimal floating point format
98 #                       to use
99 #   --enable-fixed-point    enable fixed-point arithmetic extension to C
100 #   --enable-threads[=LIB]  enable thread usage for target GCC, using LIB thread
101 #                           package
102 #   --enable-tls            enable or disable generation of tls code overriding
103 #                           the assembler check for tls support
104 #   --enable-objc-gc        enable the use of Boehm's garbage collector with the
105 #                           GNU Objective-C runtime
106 #   --disable-shared        don't provide a shared libgcc
107 #   --enable-languages=LIST specify which front-ends to build
108 #   --disable-rpath         do not hardcode runtime library paths
109 #   --enable-sjlj-exceptions
110 #                           arrange to use setjmp/longjmp exception handling
111 #   --enable-secureplt      enable -msecure-plt by default for PowerPC
112 #   --enable-leading-mingw64-underscores
113 #                           enable leading underscores on 64 bit mingw targets
114 #   --enable-cld            enable -mcld by default for 32bit x86
115 #   --enable-frame-pointer  enable -fno-omit-frame-pointer by default for 32bit
116 #                           x86
117 #   --disable-win32-registry
118 #                           disable lookup of installation paths in the Registry
119 #                           on Windows hosts
120 #   --enable-win32-registry enable registry lookup (default)
121 #   --enable-win32-registry=KEY
122 #                           use KEY instead of GCC version as the last portion
123 #                           of the registry key
124 #   --enable-shared[=PKGS]  build shared libraries [default=yes]
125 #   --enable-static[=PKGS]  build static libraries [default=yes]
126 #   --enable-fast-install[=PKGS]
127 #                           optimize for fast installation [default=yes]
128 #   --disable-libtool-lock  avoid locking (might break parallel builds)
129 #   --enable-ld[=ARG]       build ld [ARG={default,yes,no}]
130 #   --enable-gold[=ARG]     build gold [ARG={default,yes,no}]
131 #   --enable-gnu-indirect-function
132 #                           enable the use of the @gnu_indirect_function to
133 #                           glibc systems
134 #   --enable-initfini-array     use .init_array/.fini_array sections
135 #   --enable-comdat         enable COMDAT group support
136
137 #   --enable-fix-cortex-a53-835769
138 #                           enable workaround for AArch64 Cortex-A53 erratum
139 #                           835769 by default
140 #   --disable-fix-cortex-a53-835769
141 #                           disable workaround for AArch64 Cortex-A53 erratum
142 #                           835769 by default
143
144
145 #   --enable-fix-cortex-a53-843419
146 #                           enable workaround for AArch64 Cortex-A53 erratum
147 #                           843419 by default
148 #   --disable-fix-cortex-a53-843419
149 #                           disable workaround for AArch64 Cortex-A53 erratum
150 #                           843419 by default
151
152 #   --enable-gnu-unique-object
153 #                           enable the use of the @gnu_unique_object ELF
154 #                           extension on glibc systems
155 #   --enable-linker-build-id
156 #                           compiler will always pass --build-id to linker
157 #   --enable-default-ssp    enable Stack Smashing Protection as default
158 #   --enable-maintainer-mode
159 #                           enable make rules and dependencies not useful (and
160 #                           sometimes confusing) to the casual installer
161 #   --enable-link-mutex     avoid linking multiple front-ends at once to avoid
162 #                           thrashing on the build machine
163 #   --enable-version-specific-runtime-libs
164 #                           specify that runtime libraries should be installed
165 #                           in a compiler-specific directory
166 #   --enable-plugin         enable plugin support
167 #   --enable-host-shared    build host code as shared libraries
168 #   --disable-libquadmath-support
169 #                           disable libquadmath support for Fortran
170 #   --enable-default-pie    enable Position Independent Executable as default
171
172 # Optional Packages:
173 #   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
174 #   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
175 #   --with-build-libsubdir=DIR  Directory where to find libraries for build system
176 #   --with-local-prefix=DIR specifies directory to put local include
177 #   --with-native-system-header-dir=dir
178 #                           use dir as the directory to look for standard
179 #                           system header files in.  Defaults to /usr/include.
180 #   --with-build-sysroot=sysroot
181 #                           use sysroot as the system root during the build
182 #   --with-sysroot[=DIR]    search for usr/lib, usr/include, et al, within DIR
183 #   --with-gxx-include-dir=DIR
184 #                           specifies directory to put g++ header files
185 #   --with-cpp-install-dir=DIR
186 #                           install the user visible C preprocessor in DIR
187 #                           (relative to PREFIX) as well as PREFIX/bin
188 #   --with-gnu-ld           arrange to work with GNU ld
189 #   --with-ld               arrange to use the specified ld (full pathname)
190 #   --with-demangler-in-ld  try to use demangler in GNU ld
191 #   --with-gnu-as           arrange to work with GNU as
192 #   --with-as               arrange to use the specified as (full pathname)
193 #   --with-stabs            arrange to use stabs instead of host debug format
194 #   --with-dwarf2           force the default debug format to be DWARF 2
195 #   --with-specs=SPECS      add SPECS to driver command-line processing
196 #   --with-pkgversion=PKG   Use PKG in the version string in place of "GCC"
197 #   --with-bugurl=URL       Direct users to URL to report a bug
198 #   --with-multilib-list    select multilibs (AArch64, SH and x86-64 only)
199 #   --with-gnu-ld           assume the C compiler uses GNU ld default=no
200 #   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
201 #   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
202 #   --with-pic              try to use only PIC/non-PIC objects [default=use
203 #                           both]
204 #   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
205 #   --with-plugin-ld=[ARG]  specify the plugin linker
206 #   --with-glibc-version=M.N
207 #                           assume GCC used with glibc version M.N or later
208 #   --with-long-double-128  use 128-bit long double by default
209 #   --with-gc={page,zone}   this option is not supported anymore. It used to
210 #                           choose the garbage collection mechanism to use with
211 #                           the compiler
212 #   --with-system-zlib      use installed libz
213 #   --with-linker-hash-style={sysv,gnu,both}
214 #                           specify the linker hash style
215 #   --with-diagnostics-color={never,auto,auto-if-env,always}
216 #                           specify the default of -fdiagnostics-color option
217 #                           auto-if-env stands for -fdiagnostics-color=auto if
218 #                           GCC_COLOR environment variable is present and
219 #                           -fdiagnostics-color=never otherwise
220
221 # Some influential environment variables:
222 #   CC          C compiler command
223 #   CFLAGS      C compiler flags
224 #   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
225 #               nonstandard directory <lib dir>
226 #   LIBS        libraries to pass to the linker, e.g. -l<library>
227 #   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
228 #               you have headers in a nonstandard directory <include dir>
229 #   CXX         C++ compiler command
230 #   CXXFLAGS    C++ compiler flags
231 #   CXXCPP      C++ preprocessor
232 #   CPP         C preprocessor
233 #   GMPLIBS     How to link GMP
234 #   GMPINC      How to find GMP include files
235 #   ISLLIBS     How to link isl
236 #   ISLINC      How to find isl include files
237
238 # Use these variables to override the choices made by `configure' or to help
239 # it to find libraries and programs with nonstandard names/locations.
240
241 # Report bugs to the package provider.
242 #
243
244 # ../configure --prefix=/usr --libdir=/usr/lib --with-slibdir=/lib
245 # --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared 
246 # --enable-threads=posix --disable-checking --enable-long-long
247 # --enable-__cxa_atexit --enable-clocale=gnu --disable-libunwind-exceptions
248 # --enable-languages=c,c++,f77,objc,java --host=i586-mandrake-linux-gnu
249 # --with-system-zlib
250 # --with-sysroot=DIR --with-headers=DIR --without-headers --with-libs=``DIR1 DIR2 ... DIRN'' 
251 #
252 # ../gcc-3.4.0/configure --target=arm-linux --prefix=/usr/local/arm920/3.4.0 --host=i686-pc-linux-gnu --with-cpu=arm9 \
253 # --with-headers=/usr/src/arm920/elroy-jack/sw/linux-2.6.6/include --disable-shared --disable-threads --enable-languages=c \
254 # --with-float=soft --disable-nls --enable--symvers=gnu --enable-__cxa_atexit
255 # make
256 # make install
257 #
258 # ../glibc-2.3.2/configure --host=arm-linux --build=i686-pc-linux-gnu \
259 # --with-headers=/usr/src/arm920/elroy-jack/sw/linux-2.6.6/include  \
260 # --enable-add-ons=linuxthreads --enable-shared --prefix=/usr/local/arm920/3.4.0 \
261 # --with-cpu=arm9 --without-fp --enable-kernel=2.6.6
262 # make
263 # make install
264
265 #            --host=i586-pc-linux-gnu \
266              --build=x86_64-pc-linux-gnu  \
267
268 ../../../src/gcc-6.1/configure --target=i386-rtems4.12 --prefix=/usr \
269              --enable-languages=c,c++ \
270              --disable-libstdcxx-pch \
271              --with-gnu-ld \
272              --with-gnu-as \
273              --enable-threads \
274              --enable-target-optspace \
275              --with-system-zlib \
276              --verbose \
277              --disable-nls --without-included-gettext \
278              --disable-win32-registry \
279              --with-newlib \
280              --enable-plugin \
281              --enable-newlib-io-c99-formats \
282              --enable-version-specific-runtime-libs \
283              --enable-newlib-iconv \
284              --disable-lto \
285              --disable-multilib \
286              --disable-softfloat \
287              --with-cpu=i586 \
288              --enable-libgomp \
289              --enable-newlib-iconv \
290              --enable-newlib-iconv-encodings="iso_8859_1,utf_8" \
291