diff options
author | Joseph Poirier <jdpoirier@gmail.com> | 2015-01-06 12:42:36 -0600 |
---|---|---|
committer | Joseph Poirier <jdpoirier@gmail.com> | 2015-01-06 12:42:36 -0600 |
commit | e940e7d37b2ffcc24595e99868c40e46c57f74b9 (patch) | |
tree | 14b416954fa546e25e20884af99b12b2ff5a2834 /tests/realtimeGC/readme.txt | |
parent | 10ba9c4dc152a83b8db8a2987c7a481885be25b0 (diff) | |
download | Nim-e940e7d37b2ffcc24595e99868c40e46c57f74b9.tar.gz |
Test the realtime GC, via long running process in a shared object, without linking nimrtl.dll/so.
Diffstat (limited to 'tests/realtimeGC/readme.txt')
-rw-r--r-- | tests/realtimeGC/readme.txt | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/realtimeGC/readme.txt b/tests/realtimeGC/readme.txt new file mode 100644 index 000000000..035a00001 --- /dev/null +++ b/tests/realtimeGC/readme.txt @@ -0,0 +1,21 @@ +Test the realtime GC without linking nimrtl.dll/so. + +Note, this is a long running test, default is 35 minutes. To change the +the run time see RUNTIME in main.nim and main.c. + +You can build shared.nim, main.nim, and main.c by running make (nix systems) +or maike.bat (Windows systems). They both assume GCC and that it's in your +path. Output: shared.(dll/so), camin(.exe), nmain(.exe). + +To run the test: execute either nmain or cmain in a shell window. + +To build buy hand: + + - build the shared object (shared.nim): + + $ nim c shared.nim + + - build the client executables: + + $ nim c -o:nmain main.nim + $ gcc -o cmain main.c -ldl |