[Gc] Win32 GC7 alpha 1: building gctest.exe with NT_STATIC_THREADS_MAKEFILE

Maurizio Vairani maurizio.vairani at cloverinformatica.com
Wed Nov 17 02:15:39 PST 2004


The NT_STATIC_THREADS_MAKEFILE makefile must be modified specifying the 
atomic_ops library path in the compiler flags eg. -I./atomic_ops-0.6. The 
makefile build gctest.exe but it do not run. In the source code test.c is 
necessary to swap the instructions

GC_enable_incremental();
GC_init();

in this way:

GC_init();
GC_enable_incremental();

and all works.

The patch is:
diff F:\LIB\gc7.0alpha1\tests\test.c F:\LIB\gc7.0alpha1\tests\test.c.ORIG
1655d1654
< GC_init();
1656a1656
 > GC_init();

Regards,
Maurizio




More information about the Gc mailing list