This commit is contained in:
Justin Ethier 2015-05-13 11:17:09 -04:00
parent 722b6f22ef
commit b51cd6e0f0
3 changed files with 5 additions and 5 deletions

View file

@ -230,7 +230,7 @@
(if cc?
(cond
(program?
; TODO: (write `(DEBUG ,(lib:imports->objs (cdar input-program) ".")))
(write `(DEBUG ,(lib:imports->objs (cdar in-prog) ".")))
(system
;; -I is a hack, real answer is to use 'make install' to place .h file
;TODO: n eed to link to object files from lib:import->obj-file

View file

@ -1,9 +1,9 @@
; TODO: just adding temporarily until import is supported.
; idea is to try and see how the C code needs to change to
(import ;(scheme base)
(libs lib2)
(libs lib1)
;(rename (prefix (libs lib1) test-))
)
;(test-lib1-hello)
(write lib2-hello)
(write lib1-hello)

View file

@ -6,8 +6,8 @@
;;;
(define-library (libs lib1)
(export lib1-hello)
(import (scheme base)
(scheme write)
(import ;(scheme base)
;(scheme write)
(libs lib2))
(begin
(define (internal-func)