Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

some notes and fixes

git-svn-id: https://svn.parrot.org/parrot/trunk@6797 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  • Loading branch information...
commit ac4f25715fcd8adcf9f4075e7ef603d94de74a3b 1 parent cd79014
Leopold Toetsch authored
Showing with 27 additions and 5 deletions.
  1. +8 −1 PLATFORMS
  2. +17 −2 README
  3. +2 −1  src/dod.c
  4. +0 −1  src/smallobject.c
View
9 PLATFORMS
@@ -49,7 +49,7 @@ CGoto ... CGoto runloop is supported
JIT ... JIT core is supported
EXEC ... compiling to native executables is supported
Thr ... Parrot is multi-threaded
-Sig ... Parrot catches kind of a SIGINT (program termination) signal
+Sig ... Parrot catches a SIGHUP signal
Comp ... Compiles ok
Test ... Runs "make test"
Inst ... "make install" is ok
@@ -64,3 +64,10 @@ Remarks:
*5 by enabling cygwin in t/pmc/threads.t, some tests fail due to a bug in
that release. 1.5.10-3 and latest snapshots are ok.
+The following configurations are also working on x86/linux (and likely
+other platforms):
+optimized build: perl Configure.pl --optimize
+system malloc: perl Configure.pl --gc=libc
+incremental GC: include/parrot/settings.h PARROT_GC_MS:=0 PARROT_GC_IMS:=1
+arena_dod_flags: include/parrot/settings.h ARENA_DOD_FLAGS:=1
+
View
19 README
@@ -63,8 +63,12 @@ For systems like HPUX that don't have inet_pton please run
perl Configure.pl --define=inet_aton
-This will generate a config.h header, a Parrot::Config module, platform
-files and some Makefiles.
+If you want to install Parrot into a non-standard location use
+
+ perl Configure.pl --prefix=/Users/foo/parrot-0.1.1
+
+Running Configure.pl will generate a config.h header, a Parrot::Config
+module, platform files and some Makefiles.
The file "myconfig" has an overview of configure settings.
@@ -92,6 +96,17 @@ You can run the full test suite with
make fulltest
+On some systems you can install parrot:
+
+ make install
+
+This installs a bunch of files in /usr/local/parrot-$VERSION. The parrot
+executable is in /usr/local/parrot-$VERSION/bin. Please note that this
+feature is currently experimental. You have to link or copy the executable
+somewhere into your path. Finally no dynamic extensions from
+runtime/parrot/dynext are installed, albeit dynamic extensions are searched
+for in the installed directory structure.
+
Look at docs/parrot.pod and docs/intro.pod for where to go from here.
If you have any problems, see the section "Reporting Problems" in
docs/intro.pod. These documents are in POD format. You can view these files
View
3  src/dod.c
@@ -1122,7 +1122,8 @@ Parrot_dod_ms_run_init(Interp *interpreter)
#if ARENA_DOD_FLAGS
clear_live_counter(interpreter, arena_base->pmc_pool);
for (j = 0; j < (INTVAL)arena_base->num_sized; j++) {
- header_pool = arena_base->sized_header_pools[j];
+ struct Small_Object_Pool *header_pool =
+ arena_base->sized_header_pools[j];
if (header_pool)
clear_live_counter(interpreter, header_pool);
}
View
1  src/smallobject.c
@@ -480,7 +480,6 @@ new_small_object_pool(Interp *interpreter,
pool->add_free_object = add_free_object_fn;
pool->get_free_object = get_free_object_fn;
#if ARENA_DOD_FLAGS
- assert(0);
if (object_size >= sizeof(Dead_PObj))
pool->get_free_object = get_free_object_df;
#endif
Please sign in to comment.
Something went wrong with that request. Please try again.