On Sun, Jul 24, 2011 at 11:00 PM, Mark McCurry <mark.d.mccu...@gmail.com>wrote:

> Based upon the documentation, I assumed that using the "-h" and "-c"
> flags would generate the code such that an external C program could
> compile and link to the generated code.
>

No. The generated files are not for you to use. Lisp files have to be
compiled by ECL. If you need to use those files in a C program, then you
have to use libraries or binaries produced by ECL, not using your own
compiler. There is a lot of black magic going on behind the curtains that is
not just calling the compiler.

Embedding of ECL in C programs has been discussed at length here and at the
ECL wiki.

Juanjo

-- 
Instituto de FĂ­sica Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list

Reply via email to