comparison Makefile.def @ 55:77e2b8dfacca gcc-4.4.5

update it from 4.4.3 to 4.5.0
author ryoma <e075725@ie.u-ryukyu.ac.jp>
date Fri, 12 Feb 2010 23:39:51 +0900
parents 58ad6c70ea60
children b7f97abdc517
comparison
equal deleted inserted replaced
52:c156f1bd5cd9 55:77e2b8dfacca
41 host_modules= { module= opcodes; lib_path=.libs; bootstrap=true; }; 41 host_modules= { module= opcodes; lib_path=.libs; bootstrap=true; };
42 host_modules= { module= binutils; bootstrap=true; }; 42 host_modules= { module= binutils; bootstrap=true; };
43 host_modules= { module= bison; no_check_cross= true; }; 43 host_modules= { module= bison; no_check_cross= true; };
44 host_modules= { module= byacc; no_check_cross= true; }; 44 host_modules= { module= byacc; no_check_cross= true; };
45 host_modules= { module= bzip2; }; 45 host_modules= { module= bzip2; };
46 host_modules= { module= cgen; };
46 host_modules= { module= dejagnu; }; 47 host_modules= { module= dejagnu; };
47 host_modules= { module= diff; }; 48 host_modules= { module= diff; };
48 host_modules= { module= dosutils; no_check= true; }; 49 host_modules= { module= dosutils; no_check= true; };
49 host_modules= { module= etc; }; 50 host_modules= { module= etc; };
50 host_modules= { module= fastjar; no_check_cross= true; }; 51 host_modules= { module= fastjar; no_check_cross= true; };
59 extra_make_flags="$(EXTRA_GCC_FLAGS)"; }; 60 extra_make_flags="$(EXTRA_GCC_FLAGS)"; };
60 host_modules= { module= gawk; }; 61 host_modules= { module= gawk; };
61 host_modules= { module= gettext; }; 62 host_modules= { module= gettext; };
62 host_modules= { module= gmp; lib_path=.libs; bootstrap=true; 63 host_modules= { module= gmp; lib_path=.libs; bootstrap=true;
63 extra_configure_flags='--disable-shared'; 64 extra_configure_flags='--disable-shared';
64 no_install= true; 65 no_install= true;
66 // none-*-* disables asm optimizations, bootstrap-testing
67 // the compiler more thoroughly.
65 host="none-${host_vendor}-${host_os}"; 68 host="none-${host_vendor}-${host_os}";
66 target="none-${host_vendor}-${host_os}"; }; 69 // gmp's configure will complain if given anything
70 // different from host for target.
71 target="none-${host_vendor}-${host_os}"; };
67 host_modules= { module= mpfr; lib_path=.libs; bootstrap=true; 72 host_modules= { module= mpfr; lib_path=.libs; bootstrap=true;
68 extra_configure_flags='--disable-shared @extra_mpfr_configure_flags@'; 73 extra_configure_flags='--disable-shared @extra_mpfr_configure_flags@';
69 no_install= true; 74 no_install= true; };
70 host="none-${host_vendor}-${host_os}"; 75 host_modules= { module= mpc; lib_path=.libs; bootstrap=true;
71 target="none-${host_vendor}-${host_os}"; }; 76 extra_configure_flags='--disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@';
72 host_modules= { module= ppl; lib_path=.libs; bootstrap=true; 77 no_install= true; };
78 host_modules= { module= ppl; lib_path=src/.libs; bootstrap=true;
73 extra_configure_flags='--disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/'; 79 extra_configure_flags='--disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/';
74 no_install= true; 80 no_install= true; };
75 host="none-${host_vendor}-${host_os}";
76 target="none-${host_vendor}-${host_os}"; };
77 host_modules= { module= cloog; lib_path=.libs; bootstrap=true; 81 host_modules= { module= cloog; lib_path=.libs; bootstrap=true;
78 extra_configure_flags='--disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-ppl=$$r/$(HOST_SUBDIR)/ppl/ --with-bits=gmp'; 82 extra_configure_flags='--disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl';
79 no_install= true; 83 extra_exports='CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; ';
80 host="none-${host_vendor}-${host_os}"; 84 extra_make_flags='CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"';
81 target="none-${host_vendor}-${host_os}"; }; 85 no_install= true; };
86 host_modules= { module= libelf; lib_path=.libs; bootstrap=true;
87 extra_configure_flags='--disable-shared';
88 no_install= true; };
82 host_modules= { module= gnuserv; }; 89 host_modules= { module= gnuserv; };
83 host_modules= { module= gold; bootstrap=true; }; 90 host_modules= { module= gold; bootstrap=true; };
84 host_modules= { module= gprof; }; 91 host_modules= { module= gprof; };
85 host_modules= { module= gzip; }; 92 host_modules= { module= gzip; };
86 host_modules= { module= hello; }; 93 host_modules= { module= hello; };
91 host_modules= { module= itcl; }; 98 host_modules= { module= itcl; };
92 host_modules= { module= ld; bootstrap=true; }; 99 host_modules= { module= ld; bootstrap=true; };
93 host_modules= { module= libcpp; bootstrap=true; }; 100 host_modules= { module= libcpp; bootstrap=true; };
94 host_modules= { module= libdecnumber; bootstrap=true; }; 101 host_modules= { module= libdecnumber; bootstrap=true; };
95 host_modules= { module= libgui; }; 102 host_modules= { module= libgui; };
96 host_modules= { module= libiberty; bootstrap=true; }; 103 host_modules= { module= libiberty; bootstrap=true;
104 extra_configure_flags='@extra_host_libiberty_configure_flags@';};
97 // We abuse missing to avoid installing anything for libiconv. 105 // We abuse missing to avoid installing anything for libiconv.
98 host_modules= { module= libiconv; 106 host_modules= { module= libiconv;
99 extra_configure_flags='--disable-shared'; 107 extra_configure_flags='--disable-shared';
100 no_install= true; 108 no_install= true;
101 missing= install-info; 109 missing= install-info;
135 missing=clean; 143 missing=clean;
136 missing=distclean; 144 missing=distclean;
137 missing=maintainer-clean; }; 145 missing=maintainer-clean; };
138 host_modules= { module= utils; no_check=true; }; 146 host_modules= { module= utils; no_check=true; };
139 host_modules= { module= gnattools; }; 147 host_modules= { module= gnattools; };
140 148 host_modules= { module= lto-plugin; bootstrap=true; };
141 target_modules = { module= libstdc++-v3; lib_path=.libs; raw_cxx=true; }; 149
150 target_modules = { module= libstdc++-v3;
151 bootstrap=true;
152 lib_path=.libs;
153 raw_cxx=true; };
142 target_modules = { module= libmudflap; lib_path=.libs; }; 154 target_modules = { module= libmudflap; lib_path=.libs; };
143 target_modules = { module= libssp; lib_path=.libs; }; 155 target_modules = { module= libssp; lib_path=.libs; };
144 target_modules = { module= newlib; }; 156 target_modules = { module= newlib; };
145 target_modules = { module= libgcc; bootstrap=true; no_check=true; }; 157 target_modules = { module= libgcc; bootstrap=true; no_check=true; };
146 target_modules = { module= libgfortran; }; 158 target_modules = { module= libgfortran; };
222 flags_to_pass = { flag= tooldir ; }; 234 flags_to_pass = { flag= tooldir ; };
223 flags_to_pass = { flag= build_tooldir ; }; 235 flags_to_pass = { flag= build_tooldir ; };
224 flags_to_pass = { flag= target_alias ; }; 236 flags_to_pass = { flag= target_alias ; };
225 237
226 // Build tools 238 // Build tools
239 flags_to_pass = { flag= AWK ; };
227 flags_to_pass = { flag= BISON ; }; 240 flags_to_pass = { flag= BISON ; };
228 flags_to_pass = { flag= CC_FOR_BUILD ; }; 241 flags_to_pass = { flag= CC_FOR_BUILD ; };
229 flags_to_pass = { flag= CFLAGS_FOR_BUILD ; }; 242 flags_to_pass = { flag= CFLAGS_FOR_BUILD ; };
230 flags_to_pass = { flag= CXX_FOR_BUILD ; }; 243 flags_to_pass = { flag= CXX_FOR_BUILD ; };
231 flags_to_pass = { flag= EXPECT ; }; 244 flags_to_pass = { flag= EXPECT ; };
238 flags_to_pass = { flag= LEX ; }; 251 flags_to_pass = { flag= LEX ; };
239 flags_to_pass = { flag= M4 ; }; 252 flags_to_pass = { flag= M4 ; };
240 flags_to_pass = { flag= MAKE ; }; 253 flags_to_pass = { flag= MAKE ; };
241 flags_to_pass = { flag= RUNTEST ; }; 254 flags_to_pass = { flag= RUNTEST ; };
242 flags_to_pass = { flag= RUNTESTFLAGS ; }; 255 flags_to_pass = { flag= RUNTESTFLAGS ; };
256 flags_to_pass = { flag= SED ; };
243 flags_to_pass = { flag= SHELL ; }; 257 flags_to_pass = { flag= SHELL ; };
244 flags_to_pass = { flag= YACC ; }; 258 flags_to_pass = { flag= YACC ; };
245 259
246 // Host tools 260 // Host tools
247 flags_to_pass = { flag= ADAFLAGS ; optional=true ; }; 261 flags_to_pass = { flag= ADAFLAGS ; optional=true ; };
253 flags_to_pass = { flag= CFLAGS ; }; 267 flags_to_pass = { flag= CFLAGS ; };
254 flags_to_pass = { flag= CXXFLAGS ; }; 268 flags_to_pass = { flag= CXXFLAGS ; };
255 flags_to_pass = { flag= LDFLAGS ; }; 269 flags_to_pass = { flag= LDFLAGS ; };
256 flags_to_pass = { flag= LIBCFLAGS ; }; 270 flags_to_pass = { flag= LIBCFLAGS ; };
257 flags_to_pass = { flag= LIBCXXFLAGS ; }; 271 flags_to_pass = { flag= LIBCXXFLAGS ; };
258 flags_to_pass = { flag= STAGE1_CFLAGS ; };
259 flags_to_pass = { flag= STAGE1_CHECKING ; }; 272 flags_to_pass = { flag= STAGE1_CHECKING ; };
260 flags_to_pass = { flag= STAGE1_LANGUAGES ; }; 273 flags_to_pass = { flag= STAGE1_LANGUAGES ; };
261 flags_to_pass = { flag= STAGE2_CFLAGS ; };
262 flags_to_pass = { flag= STAGE3_CFLAGS ; };
263 flags_to_pass = { flag= STAGE4_CFLAGS ; };
264 flags_to_pass = { flag= GNATBIND ; }; 274 flags_to_pass = { flag= GNATBIND ; };
265 flags_to_pass = { flag= GNATMAKE ; }; 275 flags_to_pass = { flag= GNATMAKE ; };
266 276
267 // Target tools 277 // Target tools
268 flags_to_pass = { flag= AR_FOR_TARGET ; }; 278 flags_to_pass = { flag= AR_FOR_TARGET ; };
271 flags_to_pass = { flag= CFLAGS_FOR_TARGET ; }; 281 flags_to_pass = { flag= CFLAGS_FOR_TARGET ; };
272 flags_to_pass = { flag= CPPFLAGS_FOR_TARGET ; }; 282 flags_to_pass = { flag= CPPFLAGS_FOR_TARGET ; };
273 flags_to_pass = { flag= CXX_FOR_TARGET ; }; 283 flags_to_pass = { flag= CXX_FOR_TARGET ; };
274 flags_to_pass = { flag= CXXFLAGS_FOR_TARGET ; }; 284 flags_to_pass = { flag= CXXFLAGS_FOR_TARGET ; };
275 flags_to_pass = { flag= DLLTOOL_FOR_TARGET ; }; 285 flags_to_pass = { flag= DLLTOOL_FOR_TARGET ; };
286 flags_to_pass = { flag= FLAGS_FOR_TARGET ; };
276 flags_to_pass = { flag= GCJ_FOR_TARGET ; }; 287 flags_to_pass = { flag= GCJ_FOR_TARGET ; };
277 flags_to_pass = { flag= GFORTRAN_FOR_TARGET ; }; 288 flags_to_pass = { flag= GFORTRAN_FOR_TARGET ; };
278 flags_to_pass = { flag= LD_FOR_TARGET ; }; 289 flags_to_pass = { flag= LD_FOR_TARGET ; };
279 flags_to_pass = { flag= LIPO_FOR_TARGET ; }; 290 flags_to_pass = { flag= LIPO_FOR_TARGET ; };
280 flags_to_pass = { flag= LDFLAGS_FOR_TARGET ; }; 291 flags_to_pass = { flag= LDFLAGS_FOR_TARGET ; };
286 flags_to_pass = { flag= STRIP_FOR_TARGET ; }; 297 flags_to_pass = { flag= STRIP_FOR_TARGET ; };
287 flags_to_pass = { flag= WINDRES_FOR_TARGET ; }; 298 flags_to_pass = { flag= WINDRES_FOR_TARGET ; };
288 flags_to_pass = { flag= WINDMC_FOR_TARGET ; }; 299 flags_to_pass = { flag= WINDMC_FOR_TARGET ; };
289 300
290 // Miscellaneous 301 // Miscellaneous
302 flags_to_pass = { flag= BUILD_CONFIG ; };
291 flags_to_pass = { flag= LANGUAGES ; optional=true ; }; 303 flags_to_pass = { flag= LANGUAGES ; optional=true ; };
292 flags_to_pass = { flag= LEAN ; }; 304 flags_to_pass = { flag= LEAN ; };
293 305
294 // Inter-module dependencies 306 // Inter-module dependencies
295 307
312 dependencies = { module=configure-gcc; on=all-gold; }; 324 dependencies = { module=configure-gcc; on=all-gold; };
313 dependencies = { module=all-gcc; on=all-libiberty; hard=true; }; 325 dependencies = { module=all-gcc; on=all-libiberty; hard=true; };
314 dependencies = { module=all-gcc; on=all-gmp; }; 326 dependencies = { module=all-gcc; on=all-gmp; };
315 dependencies = { module=all-gcc; on=all-intl; }; 327 dependencies = { module=all-gcc; on=all-intl; };
316 dependencies = { module=all-gcc; on=all-mpfr; }; 328 dependencies = { module=all-gcc; on=all-mpfr; };
329 dependencies = { module=all-gcc; on=all-mpc; };
317 dependencies = { module=all-gcc; on=all-ppl; }; 330 dependencies = { module=all-gcc; on=all-ppl; };
318 dependencies = { module=all-gcc; on=all-cloog; }; 331 dependencies = { module=all-gcc; on=all-cloog; };
332 dependencies = { module=all-gcc; on=all-libelf; };
319 dependencies = { module=all-gcc; on=all-build-texinfo; }; 333 dependencies = { module=all-gcc; on=all-build-texinfo; };
320 dependencies = { module=all-gcc; on=all-build-bison; }; 334 dependencies = { module=all-gcc; on=all-build-bison; };
321 dependencies = { module=all-gcc; on=all-build-byacc; }; 335 dependencies = { module=all-gcc; on=all-build-byacc; };
322 dependencies = { module=all-gcc; on=all-build-flex; }; 336 dependencies = { module=all-gcc; on=all-build-flex; };
323 dependencies = { module=all-gcc; on=all-build-libiberty; }; 337 dependencies = { module=all-gcc; on=all-build-libiberty; };
336 350
337 dependencies = { module=all-fixincludes; on=all-libiberty; }; 351 dependencies = { module=all-fixincludes; on=all-libiberty; };
338 352
339 dependencies = { module=all-gnattools; on=all-target-libada; }; 353 dependencies = { module=all-gnattools; on=all-target-libada; };
340 354
355 dependencies = { module=all-lto-plugin; on=all-libiberty; };
356
341 dependencies = { module=configure-mpfr; on=all-gmp; }; 357 dependencies = { module=configure-mpfr; on=all-gmp; };
358 dependencies = { module=configure-mpc; on=all-mpfr; };
342 dependencies = { module=configure-ppl; on=all-gmp; }; 359 dependencies = { module=configure-ppl; on=all-gmp; };
343 dependencies = { module=configure-ppl; on=all-mpfr; }; 360 dependencies = { module=configure-ppl; on=all-mpfr; };
344 dependencies = { module=configure-cloog; on=all-ppl; }; 361 dependencies = { module=configure-cloog; on=all-ppl; };
345 362
346 // Host modules specific to gdb. 363 // Host modules specific to gdb.
413 dependencies = { module=all-gold; on=all-intl; }; 430 dependencies = { module=all-gold; on=all-intl; };
414 dependencies = { module=all-gold; on=all-bfd; }; 431 dependencies = { module=all-gold; on=all-bfd; };
415 dependencies = { module=all-gold; on=all-build-bison; }; 432 dependencies = { module=all-gold; on=all-build-bison; };
416 dependencies = { module=all-gold; on=all-build-byacc; }; 433 dependencies = { module=all-gold; on=all-build-byacc; };
417 dependencies = { module=check-gold; on=all-binutils; }; 434 dependencies = { module=check-gold; on=all-binutils; };
435 dependencies = { module=check-gold; on=all-gas; };
418 436
419 dependencies = { module=configure-opcodes; on=configure-intl; }; 437 dependencies = { module=configure-opcodes; on=configure-intl; };
420 dependencies = { module=all-opcodes; on=all-bfd; }; 438 dependencies = { module=all-opcodes; on=all-bfd; };
421 dependencies = { module=all-opcodes; on=all-libiberty; }; 439 dependencies = { module=all-opcodes; on=all-libiberty; };
422 dependencies = { module=all-opcodes; on=all-intl; }; 440 dependencies = { module=all-opcodes; on=all-intl; };
538 lang_env_dependencies = { module=qthreads; }; 556 lang_env_dependencies = { module=qthreads; };
539 557
540 dependencies = { module=all-target-libgloss; on=all-target-newlib; }; 558 dependencies = { module=all-target-libgloss; on=all-target-newlib; };
541 dependencies = { module=all-target-winsup; on=all-target-libiberty; }; 559 dependencies = { module=all-target-winsup; on=all-target-libiberty; };
542 dependencies = { module=all-target-winsup; on=all-target-libtermcap; }; 560 dependencies = { module=all-target-winsup; on=all-target-libtermcap; };
561 dependencies = { module=configure-target-libiberty; on=all-binutils; };
562 dependencies = { module=configure-target-libiberty; on=all-ld; };
563 dependencies = { module=configure-target-newlib; on=all-binutils; };
564 dependencies = { module=configure-target-newlib; on=all-ld; };
565
566 languages = { language=c; gcc-check-target=check-gcc; };
567 languages = { language=c++; gcc-check-target=check-c++;
568 lib-check-target=check-target-libstdc++-v3; };
569 languages = { language=fortran; gcc-check-target=check-fortran;
570 lib-check-target=check-target-libgfortran; };
571 languages = { language=java; gcc-check-target=check-java;
572 lib-check-target=check-target-libjava; };
573 languages = { language=ada; gcc-check-target=check-ada;
574 lib-check-target=check-target-libada; };
575 languages = { language=objc; gcc-check-target=check-objc;
576 lib-check-target=check-target-libobjc; };
577 languages = { language=obj-c++; gcc-check-target=check-obj-c++; };
543 578
544 // Toplevel bootstrap 579 // Toplevel bootstrap
545 bootstrap_stage = { 580 bootstrap_stage = { id=1 ; };
546 id=1 ;
547
548 // * We force-disable intermodule optimizations, even if
549 // --enable-intermodule was passed, since the installed compiler
550 // probably can't handle them. Luckily, autoconf always respects
551 // the last argument when conflicting --enable arguments are passed.
552 // * Likewise, we force-disable coverage flags, since the installed
553 // compiler probably has never heard of them.
554 stage_configure_flags='--disable-intermodule $(STAGE1_CHECKING) \
555 --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"' ;
556 stage_cflags='$(STAGE1_CFLAGS)' ;
557 stage_libcflags='$(STAGE1_LIBCFLAGS)' ; };
558 bootstrap_stage = { 581 bootstrap_stage = {
559 id=2 ; prev=1 ; 582 id=2 ; prev=1 ;
560 bootstrap_target=bootstrap2 ; 583 bootstrap_target=bootstrap2 ; };
561 stage_configure_flags="@stage2_werror_flag@" ;
562 stage_cflags="$(STAGE2_CFLAGS)" ;
563 stage_libcflags="$(STAGE2_LIBCFLAGS)" ; };
564 bootstrap_stage = {
565 id=b2g0 ; prev=1 ;
566 bootstrap_target=bootstrap2-debug ;
567 stage_configure_flags="@stage2_werror_flag@" ;
568 stage_cflags="$(STAGE2_CFLAGS) -g0" ;
569 stage_libcflags="$(STAGE2_LIBCFLAGS) -g0" ; };
570 bootstrap_stage = { 584 bootstrap_stage = {
571 id=3 ; prev=2 ; lean=1 ; 585 id=3 ; prev=2 ; lean=1 ;
572 compare_target=compare ; 586 compare_target=compare ;
573 bootstrap_target=bootstrap ; 587 bootstrap_target=bootstrap ;
574 cleanstrap_target=cleanstrap ; 588 cleanstrap_target=cleanstrap ; };
575 stage_configure_flags="@stage2_werror_flag@" ;
576 stage_cflags="$(STAGE3_CFLAGS)" ;
577 stage_libcflags="$(STAGE3_LIBCFLAGS)" ; };
578 bootstrap_stage = {
579 id=b3g2 ; prev=b2g0 ; lean=1 ;
580 compare_target=compare-debug ;
581 bootstrap_target=bootstrap-debug ;
582 cleanstrap_target=cleanstrap-debug ;
583 stage_configure_flags="@stage2_werror_flag@" ;
584 stage_cflags="$(STAGE3_CFLAGS) -g2" ;
585 stage_libcflags="$(STAGE3_LIBCFLAGS) -g2" ; };
586 bootstrap_stage = { 589 bootstrap_stage = {
587 id=4 ; prev=3 ; lean=2 ; 590 id=4 ; prev=3 ; lean=2 ;
588 compare_target=compare3 ; 591 compare_target=compare3 ;
589 bootstrap_target=bootstrap4 ; 592 bootstrap_target=bootstrap4 ; };
590 stage_configure_flags="@stage2_werror_flag@" ;
591 stage_cflags="$(STAGE4_CFLAGS)" ;
592 stage_libcflags="$(STAGE4_CFLAGS)" ; };
593 bootstrap_stage = { 593 bootstrap_stage = {
594 id=profile ; prev=1 ; 594 id=profile ; prev=1 ; };
595 stage_configure_flags="@stage2_werror_flag@" ;
596 stage_cflags='$(STAGE2_CFLAGS) -fprofile-generate' ;
597 stage_libcflags='$(STAGE2_LIBCFLAGS)' ; };
598 bootstrap_stage = { 595 bootstrap_stage = {
599 id=feedback ; prev=profile ; 596 id=feedback ; prev=profile ;
600 bootstrap_target=profiledbootstrap ; 597 bootstrap_target=profiledbootstrap ; };
601 stage_configure_flags="@stage2_werror_flag@" ;
602 stage_cflags='$(STAGE3_CFLAGS) -fprofile-use' ;
603 stage_libcflags='$(STAGE3_LIBCFLAGS) -fprofile-use' ; };