mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-09 22:17:33 +02:00
Compile using static library
This commit is contained in:
parent
55a575c1d7
commit
9f4fcc8d65
2 changed files with 1 additions and 2 deletions
1
TODO
1
TODO
|
@ -1,6 +1,5 @@
|
||||||
Working TODO list:
|
Working TODO list:
|
||||||
|
|
||||||
- Add static linking code to the compiler (cgen)
|
|
||||||
- Only emit funcall* / return_funcall* definitions for cases that are actually used.
|
- Only emit funcall* / return_funcall* definitions for cases that are actually used.
|
||||||
IE, do not emit funcall9 just because funcall10 is required
|
IE, do not emit funcall9 just because funcall10 is required
|
||||||
|
|
||||||
|
|
|
@ -160,7 +160,7 @@
|
||||||
(if cc?
|
(if cc?
|
||||||
(system
|
(system
|
||||||
;; -I is a hack, real answer is to use 'make install' to place .h file
|
;; -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
|
;; Handle command line arguments
|
||||||
(let ((args (command-line-arguments))) ;; TODO: port (command-line-arguments) to husk??
|
(let ((args (command-line-arguments))) ;; TODO: port (command-line-arguments) to husk??
|
||||||
|
|
Loading…
Add table
Reference in a new issue