mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-22 07:09:17 +02:00
Fixes
This commit is contained in:
parent
06a0a4eb11
commit
cf02ac9ec2
3 changed files with 3 additions and 3 deletions
2
Makefile
2
Makefile
|
@ -44,7 +44,7 @@ libcyclone.so.1: runtime.c include/cyclone/runtime.h
|
||||||
gcc -g -c -fPIC runtime.c -o runtime.o
|
gcc -g -c -fPIC runtime.c -o runtime.o
|
||||||
gcc -shared -Wl,-soname,libcyclone.so.1 -o libcyclone.so.1.0.1 runtime.o
|
gcc -shared -Wl,-soname,libcyclone.so.1 -o libcyclone.so.1.0.1 runtime.o
|
||||||
|
|
||||||
libcyclone.a: runtime.c include/cyclone/runtime.h dispatch.c
|
libcyclone.a: runtime.c include/cyclone/runtime.h include/cyclone/types.h dispatch.c
|
||||||
$(CC) -g -c -Iinclude dispatch.c -o dispatch.o
|
$(CC) -g -c -Iinclude dispatch.c -o dispatch.o
|
||||||
$(CC) -g -c -Iinclude -DCYC_INSTALL_DIR=\"$(PREFIX)\" -DCYC_INSTALL_LIB=\"$(LIBDIR)\" -DCYC_INSTALL_INC=\"$(INCDIR)\" -DCYC_INSTALL_SLD=\"$(DATADIR)\" runtime.c -o runtime.o
|
$(CC) -g -c -Iinclude -DCYC_INSTALL_DIR=\"$(PREFIX)\" -DCYC_INSTALL_LIB=\"$(LIBDIR)\" -DCYC_INSTALL_INC=\"$(INCDIR)\" -DCYC_INSTALL_SLD=\"$(DATADIR)\" runtime.c -o runtime.o
|
||||||
$(AR) rcs libcyclone.a runtime.o dispatch.o
|
$(AR) rcs libcyclone.a runtime.o dispatch.o
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
/* Debug GC flag */
|
/* Debug GC flag */
|
||||||
#define DEBUG_GC 0
|
#define DEBUG_GC 0
|
||||||
|
|
||||||
/* Show diagnostic information for the GC when program terminate */
|
/* Show diagnostic information for the GC when program terminates */
|
||||||
#define DEBUG_SHOW_DIAG 0
|
#define DEBUG_SHOW_DIAG 0
|
||||||
|
|
||||||
/* Maximum number of args that GC will accept */
|
/* Maximum number of args that GC will accept */
|
||||||
|
|
|
@ -1029,7 +1029,7 @@ void my_exit(env) closure env; {
|
||||||
object __halt(object obj) {
|
object __halt(object obj) {
|
||||||
#if DEBUG_SHOW_DIAG
|
#if DEBUG_SHOW_DIAG
|
||||||
printf("\nhalt: ");
|
printf("\nhalt: ");
|
||||||
Cyc_display(obj);
|
Cyc_display(obj, stdout);
|
||||||
printf("\n");
|
printf("\n");
|
||||||
#endif
|
#endif
|
||||||
my_exit(obj);
|
my_exit(obj);
|
||||||
|
|
Loading…
Add table
Reference in a new issue