[Ecls-list] Building static programs

Jason Cox jason at coxmountain.com
Mon Mar 21 01:54:50 UTC 2011


Hi,

I'm trying to build a static program.  Although the documentation covers building static libraries,
I can only find how to build programs that are dynamically linked.  I tried the following line, but it doesn't work. 

(c:build-program "work" :lisp-files '("work.o") :ld-flags '("-static")))

Is there an easy way to do this without building a static library and writing my own main() in C?

thanks,
-Jason





More information about the ecl-devel mailing list