Permalink
Browse files

[GH #838] bootstrap-prt0, ChangeLog

Remind to call bootstrap-prt0 in Makefile when prt0.winxed is changed.
Called bootstrap-prt0
Added ChangeLog line, and whitespace fixes
  • Loading branch information...
1 parent eaa1466 commit 4879083ea39e288d405c81007b249a03bdb72bba @rurban rurban committed Sep 25, 2012
Showing with 26 additions and 20 deletions.
  1. +15 −13 ChangeLog
  2. +8 −4 config/gen/makefiles/root.in
  3. +3 −3 frontend/parrot2/prt0.pir
View
28 ChangeLog
@@ -1,24 +1,26 @@
2012-10-16 release 4.9.0
- Core
- + Keep encoding information in the imcc optimizer, which fixes the
- concat op but probably many more cases with non-ascii encoded
- constant strings. [GH #837]
- + Fixed ByteBuffer set_string_native, which became out of sync with
- two internal buffers. [GH #835]
- + Preload Configure steps when called with perl -d Configure.pl
- + Strip unneeded config keys from installed config hash. Saves 6360
- bytes from every installed executable.
+ + Keep encoding information in the imcc optimizer, which fixes the
+ concat op but probably many more cases with non-ascii encoded
+ constant strings. [GH #837]
+ + Fixed ByteBuffer set_string_native, which became out of sync with
+ two internal buffers. [GH #835]
+ + Preload Configure steps when called with perl -d Configure.pl
+ + Strip unneeded config keys from installed config hash. Saves 6360
+ bytes from every installed executable.
- Build
+ Improved warnings for clang.
- + Cleaned wrong UNUSED(arg) macros in all pmc's due to an improved
- pmc2c compiler, which SHIMs all UNUSED args. [GH #836]
+ + Cleaned wrong UNUSED(arg) macros in all pmc's due to an improved
+ pmc2c compiler, which SHIMs all UNUSED args. [GH #836]
- Branches
+ The threads branch is almost ready to be merged. Some remaining races
- have been fixed. There are only some remaining platforms errors on
- darwin/x86.
+ have been fixed. There are only some remaining platforms errors on
+ darwin/x86.
- Libraries
- + Fixed Mime/Base64 encode_base64. Split long lines at 76 chars [GH #826]
+ + Fixed Mime/Base64 encode_base64. Split long lines at 76 chars [GH #826]
- Documentation
+ + Cleaned up removed parrot cmdline options -D/-O/-v from --help output and
+ running.pod [GH #838]
- Tests
- Community
View
12 config/gen/makefiles/root.in
@@ -876,13 +876,20 @@ $(RUN_INC_DIR)/config.fpmc : myconfig config_lib.pir \
$(PERL) tools/build/gen_version.pl >$(RUN_INC_DIR)/parrot_version.pir
$(MINIPARROT) -I$(RUN_INC_DIR) config_lib.pir > $@
+
+bootstrap-prt0: $(WINXED) $(FRPTWO_DIR)/prt0.winxed
+ $(WINXED) --noan -c $(FRPTWO_DIR)/prt0.winxed
+
+# Circular dependencies winxed.pbc <- parrot and more
+$(FRPTWO_DIR)/prt0.pir: $(FRPTWO_DIR)/prt0.winxed
+ @echo "$@ out of date. Need to call: make parrot bootstrap-prt0"
+
$(FRPTWO_DIR)/prt0.pbc : $(FRPTWO_DIR)/prt0.pir $(MINIPARROT)
$(MINIPARROT) -I$(RUN_INC_DIR) -o $(FRPTWO_DIR)/prt0.pbc $(FRPTWO_DIR)/prt0.pir
$(FRPTWO_DIR)/prt0.pbc.c : $(FRPTWO_DIR)/prt0.pbc $(FRPTWO_DIR)/build.pir $(MINIPARROT)
$(MINIPARROT) $(FRPTWO_DIR)/build.pir $(FRPTWO_DIR)/prt0.pbc
-
$(FRPTWO_DIR)/prt0.pbc$(O) : $(FRPTWO_DIR)/prt0.pbc.c \
$(INC_DIR)/feature.h \
$(INC_DIR)/core_types.h \
@@ -891,9 +898,6 @@ $(FRPTWO_DIR)/prt0.pbc$(O) : $(FRPTWO_DIR)/prt0.pbc.c \
$(INC_DIR)/api.h \
$(INC_DIR)/config.h
-bootstrap-prt0: $(WINXED) $(FRPTWO_DIR)/prt0.winxed
- $(WINXED) --noan -c $(FRPTWO_DIR)/prt0.winxed
-
$(PARROTOLD) : $(FRP_DIR)/main$(O) $(GEN_HEADERS) $(LIBPARROT) \
src/parrot_config$(O) src/longopt$(O) \
$(MINIPARROT)
View
6 frontend/parrot2/prt0.pir
@@ -294,7 +294,7 @@
.sub '__show_help_and_exit' :subid('WSubId_3') :anon
- set $S1, "parrot [Options] <file> [<program options...>]\n Options:\n -h --help\n -V --version\n -I --include add path to include search\n -L --library add path to library search\n --hash-seed F00F specify hex value to use as hash seed\n -X --dynext add path to dynamic extension search\n <Run core options>\n -R --runcore slow|bounds|fast|subprof\n -R --runcore trace|profiling|gcdebug\n -t --trace [flags]\n <VM options>\n -D --parrot-debug[=HEXFLAGS]\n --help-debug\n -w --warnings\n -G --no-gc\n -g --gc ms2|gms|ms|inf set GC type\n <GC MS2 options>\n --gc-dynamic-threshold=percentage maximum memory wasted by GC\n --gc-min-threshold=KB\n <GC GMS options>\n --gc-nursery-size=percent of sysmem size of gen0 (default 2)\n --gc-debug\n --leak-test|--destroy-at-end\n -. --wait Read a keystroke before starting\n --runtime-prefix\n <Compiler options>\n -d --imcc-debug[=HEXFLAGS]\n -v --verbose\n -E --pre-process-only\n -o --output=FILE\n --output-pbc\n -O --optimize[=LEVEL]\n -a --pasm\n -c --pbc\n -r --run-pbc\n -y --yydebug\n <Language options>\nsee docs/running.pod for more\n"
+ set $S1, "parrot [Options] <file> [<program options...>]\n Options:\n -h --help\n -V --version\n -I --include add path to include search\n -L --library add path to library search\n --hash-seed F00F specify hex value to use as hash seed\n -X --dynext add path to dynamic extension search\n <Run core options>\n -R --runcore slow|bounds|fast|subprof\n -R --runcore trace|profiling|gcdebug\n -t --trace [flags]\n <VM options>\n -D --parrot-debug[=HEXFLAGS]\n --help-debug\n -w --warnings\n -G --no-gc\n -g --gc ms2|gms|ms|inf set GC type\n <GC MS2 options>\n --gc-dynamic-threshold=percentage maximum memory wasted by GC\n --gc-min-threshold=KB\n <GC GMS options>\n --gc-nursery-size=percent of sysmem size of gen0 (default 2)\n --gc-debug\n --leak-test|--destroy-at-end\n -. --wait Read a keystroke before starting\n --runtime-prefix\n <Compiler options>\n -E --pre-process-only\n -o --output=FILE\n --output-pbc\n -a --pasm\n -c --pbc\n -r --run-pbc\n -y --yydebug\n <Language options>\nsee docs/running.pod for more\n"
say $S1
exit 0
@@ -317,8 +317,8 @@
concat $S1, __ARG_1, "\n"
$P1.'print'($S1)
__label_1: # endif
- $P1.'print'("parrot -[acEGhrtvVwy.] [-d [FLAGS]] [-D [FLAGS]] ")
- $P1.'print'("[-O [level]] [-[LIX] path] [-R runcore] [-o FILE] <file> <args>\n")
+ $P1.'print'("parrot -[acEGhrtVwy.] [-D [FLAGS]] ")
+ $P1.'print'("[-[LIX] path] [-R runcore] [-o FILE] <file> <args>\n")
exit 1
.end # __usage_and_exit

0 comments on commit 4879083

Please sign in to comment.