diff --git a/TODO b/TODO index 0207461f..cbcebaae 100644 --- a/TODO +++ b/TODO @@ -1,6 +1,5 @@ Working TODO list: -- Add static linking code to the compiler (cgen) - Only emit funcall* / return_funcall* definitions for cases that are actually used. IE, do not emit funcall9 just because funcall10 is required diff --git a/cyclone.scm b/cyclone.scm index 5e2a4dfd..c0e49719 100644 --- a/cyclone.scm +++ b/cyclone.scm @@ -160,7 +160,7 @@ (if cc? (system ;; -I is a hack, real answer is to use 'make install' to place .h file - (string-append "gcc " src-file " -I. -g -o " exec-file))))) + (string-append "gcc -static " src-file " -L. -lcyclone -I. -g -o " exec-file))))) ;; Handle command line arguments (let ((args (command-line-arguments))) ;; TODO: port (command-line-arguments) to husk??