1 #`configure' configures this package to adapt to many kinds of systems.
2 #Usage: ../../../src/binutils/configure [OPTION]... [VAR=VALUE]...
4 #To assign environment variables (e.g., CC, CFLAGS...), specify them as
5 #VAR=VALUE. See below for descriptions of some of the useful variables.
7 #Defaults for the options are specified in brackets.
10 # -h, --help display this help and exit
11 # --help=short display options specific to this package
12 # --help=recursive display the short help of all the included packages
13 # -V, --version display version information and exit
14 # -q, --quiet, --silent do not print `checking...' messages
15 # --cache-file=FILE cache test results in FILE [disabled]
16 # -C, --config-cache alias for `--cache-file=config.cache'
17 # -n, --no-create do not create output files
18 # --srcdir=DIR find the sources in DIR [configure dir or `..']
20 #Installation directories:
21 # --prefix=PREFIX install architecture-independent files in PREFIX
23 # --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
26 #By default, `make install' will install all the files in
27 #`/usr/local/bin', `/usr/local/lib' etc. You can specify
28 #an installation prefix other than `/usr/local' using `--prefix',
29 #for instance `--prefix=$HOME'.
31 #For better control, use the options below.
33 #Fine tuning of the installation directories:
34 # --bindir=DIR user executables [EPREFIX/bin]
35 # --sbindir=DIR system admin executables [EPREFIX/sbin]
36 # --libexecdir=DIR program executables [EPREFIX/libexec]
37 # --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
38 # --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
39 # --localstatedir=DIR modifiable single-machine data [PREFIX/var]
40 # --libdir=DIR object code libraries [EPREFIX/lib]
41 # --includedir=DIR C header files [PREFIX/include]
42 # --oldincludedir=DIR C header files for non-gcc [/usr/include]
43 # --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
44 # --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
45 # --infodir=DIR info documentation [DATAROOTDIR/info]
46 # --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
47 # --mandir=DIR man documentation [DATAROOTDIR/man]
48 # --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
49 # --htmldir=DIR html documentation [DOCDIR]
50 # --dvidir=DIR dvi documentation [DOCDIR]
51 # --pdfdir=DIR pdf documentation [DOCDIR]
52 # --psdir=DIR ps documentation [DOCDIR]
55 # --program-prefix=PREFIX prepend PREFIX to installed program names
56 # --program-suffix=SUFFIX append SUFFIX to installed program names
57 # --program-transform-name=PROGRAM run sed PROGRAM on installed program names
60 # --build=BUILD configure for building on BUILD [guessed]
61 # --host=HOST cross-compile to build programs to run on HOST [BUILD]
62 # --target=TARGET configure for building compilers for TARGET [HOST]
65 # --disable-option-checking ignore unrecognized --enable/--with options
66 # --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
67 # --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
68 # --enable-gold[=ARG] build gold [ARG={default,yes,no}]
69 # --enable-ld[=ARG] build ld [ARG={default,yes,no}]
70 # --disable-libquadmath do not build libquadmath directory
71 # --disable-libquadmath-support
72 # disable libquadmath support for Fortran
73 # --enable-libada build libada directory
74 # --enable-libssp build libssp directory
75 # --enable-static-libjava[=ARG]
76 # build static libjava [default=no]
77 # --enable-bootstrap enable bootstrapping [yes if native build]
78 # --enable-build-with-cxx build with C++ compiler instead of C compiler
79 # --enable-build-poststage1-with-cxx
80 # build stages 2 and 3 with C++, not C
81 # --disable-ppl-version-check
82 # disable check for PPL version
83 # --enable-cloog-backend[=BACKEND]
84 # set the CLooG BACKEND used to either isl, ppl or
85 # ppl-legacy (default)
86 # --disable-cloog-version-check
87 # disable check for CLooG version
88 # --enable-lto enable link time optimization support
89 # --enable-stage1-languages[=all]
90 # choose additional languages to build during stage1.
91 # Mostly useful for compiler development
92 # --enable-objc-gc enable use of Boehm's garbage collector with the GNU
94 # --enable-serial-[{host,target,build}-]configure
95 # force sequential configuration of sub-packages for
96 # the host, target or build machine, or all
98 # --enable-maintainer-mode
99 # enable make rules and dependencies not useful (and
100 # sometimes confusing) to the casual installer
101 # --enable-stage1-checking[=all]
102 # choose additional checking for stage1 of the
104 # --enable-werror enable -Werror in bootstrap stage2 and later
107 # --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
108 # --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
109 # --with-build-libsubdir=DIR Directory where to find libraries for build system
110 # --with-mpc=PATH specify prefix directory for installed MPC package.
111 # Equivalent to --with-mpc-include=PATH/include plus
112 # --with-mpc-lib=PATH/lib
113 # --with-mpc-include=PATH specify directory for installed MPC include files
114 # --with-mpc-lib=PATH specify directory for the installed MPC library
115 # --with-mpfr-dir=PATH this option has been REMOVED
116 # --with-mpfr=PATH specify prefix directory for installed MPFR package.
117 # Equivalent to --with-mpfr-include=PATH/include plus
118 # --with-mpfr-lib=PATH/lib
119 # --with-mpfr-include=PATH
120 # specify directory for installed MPFR include files
121 # --with-mpfr-lib=PATH specify directory for the installed MPFR library
122 # --with-gmp-dir=PATH this option has been REMOVED
123 # --with-gmp=PATH specify prefix directory for the installed GMP
124 # package. Equivalent to
125 # --with-gmp-include=PATH/include plus
126 # --with-gmp-lib=PATH/lib
127 # --with-gmp-include=PATH specify directory for installed GMP include files
128 # --with-gmp-lib=PATH specify directory for the installed GMP library
129 # --with-host-libstdcxx=L use linker arguments L to link with libstdc++ when
131 # --with-stage1-ldflags=FLAGS
132 # linker flags for stage1
133 # --with-stage1-libs=LIBS libraries for stage1
134 # --with-boot-libs=LIBS libraries for stage2 and later
135 # --with-boot-ldflags=FLAGS
136 # linker flags for stage2 and later
137 # --with-ppl=PATH specify prefix directory for the installed PPL
138 # package. Equivalent to
139 # --with-ppl-include=PATH/include plus
140 # --with-ppl-lib=PATH/lib
141 # --with-ppl-include=PATH specify directory for installed PPL include files
142 # --with-ppl-lib=PATH specify directory for the installed PPL library
143 # --with-cloog=PATH Specify prefix directory for the installed CLooG-PPL
144 # package. Equivalent to
145 # --with-cloog-include=PATH/include plus
146 # --with-cloog-lib=PATH/lib
147 # --with-cloog-include=PATH
148 # Specify directory for installed CLooG include files
149 # --with-cloog-lib=PATH Specify the directory for the installed CLooG
151 # --with-build-sysroot=SYSROOT
152 # use sysroot as the system root during the build
153 # --with-debug-prefix-map='A=B C=D ...'
154 # map A to B, C to D ... in debug information
155 # --with-build-config='NAME NAME2...'
156 # use config/NAME.mk build configuration
157 # --with-build-time-tools=PATH
158 # use given path to find target tools during the build
160 #Some influential environment variables:
161 # CC C compiler command
162 # CFLAGS C compiler flags
163 # LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
164 # nonstandard directory <lib dir>
165 # LIBS libraries to pass to the linker, e.g. -l<library>
166 # CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
167 # you have headers in a nonstandard directory <include dir>
168 # CXX C++ compiler command
169 # CXXFLAGS C++ compiler flags
171 # additional configure arguments for build directories
173 # additional configure arguments for host directories
175 # additional configure arguments for target directories
178 # DLLTOOL DLLTOOL for the host
180 # LIPO LIPO for the host
182 # RANLIB RANLIB for the host
183 # STRIP STRIP for the host
184 # WINDRES WINDRES for the host
185 # WINDMC WINDMC for the host
186 # OBJCOPY OBJCOPY for the host
187 # OBJDUMP OBJDUMP for the host
188 # READELF READELF for the host
197 # GFORTRAN_FOR_TARGET
198 # GFORTRAN for the target
206 # DLLTOOL for the target
210 # LIPO for the target
214 # OBJDUMP for the target
216 # RANLIB for the target
218 # READELF for the target
220 # STRIP for the target
222 # WINDRES for the target
224 # WINDMC for the target
226 #Use these variables to override the choices made by `configure' or to help
227 #it to find libraries and programs with nonstandard names/locations.
229 #Report bugs to the package provider.
231 # --target=i586-pc-linux-gnulibc1
232 # --target=i586-mingw32
234 # --target=m68k-linux-gnulibc1
235 # --target=h8300-hitachi-coff
236 # --target=tic30-ti-coff
237 # --host=i586-pc-linux-gnulibc1
239 #--host=i586-pc-linux-gnu \
240 #--build=x86_64-pc-linux-gnu \
241 #--enable-targets=arm-rtems,arm-linux,arm-coff
243 CFLAGS=-O2 LDFLAGS=-s \
244 ../../../binutils/configure \
245 --target=arm-rtems4.10 \
246 --with-gnu-ld --exec-prefix=/usr --prefix=/usr \
247 --verbose --disable-nls \
248 --disable-win32-registry \
250 --with-mmap --enable-64-bit-bfd \
253 #srec,symbolsrec,tekhex,binary,ihex,trad-core