[Ecls-list] Embedding ECL library in C program
_ _
swarogich at bk.ru
Tue Sep 4 15:06:08 UTC 2007
Great! Now I can build my example this way:
$ ar cr libprog_msg.a prog_msg.o
and in ECL:
(compile-file "test.lisp" :system-p t)
(c:build-program "prog" :lisp-files '("test.o") :ld-flags '("-L./" "-lprog_msg"))
But when I execute ./prog, it doesn't work as I expected. Instead of printing the string it just starts ECL interpreter. I feel going completely wrong way.
More information about the ecl-devel
mailing list