readme.txt 711 B

12345678910111213141516171819202122
  1. Test the realtime GC without linking nimrtl.dll/so.
  2. Note, this is a long running test, default is 35 minutes. To change the
  3. the run time see RUNTIME in nmain.nim and cmain.c.
  4. You can build shared.nim, nmain.nim, and cmain.c by running make (nix systems)
  5. or make.bat (Windows systems). They both assume GCC and that it's in your
  6. path. Output: shared.(dll/so), cmain(.exe), nmain(.exe).
  7. To run the test: execute either nmain or cmain in a shell window.
  8. To build by hand:
  9. - build the shared object (shared.nim):
  10. $ nim c tests/realtimeGC/shared.nim
  11. - build the client executables:
  12. $ nim c --threads:on tests/realtimeGC/nmain.nim
  13. $ gcc -o tests/realtimeGC/cmain tests/realtimeGC/cmain.c -ldl