Page 1 of 1

Newb needs help with many things.

Posted: Fri Nov 19, 2010 9:56 am
by shawn_f
Thank you for taking the time to help me with my many, many problems.

I want to use lisp to develop small engineering-related programs and redistribute these as executables.
I am using windows.
I have tried every method of installing "Embeddable Common Lisp" on my machine, and I have failed.
Here are my questions:
1) How do you install ECL on a windows box? (if no, continue)
2) Is there another variation that can be compiled to C? (if no, continue)
3) How do you compile bytecode to a binary exe?
Thanks.
I will bake you some cookies if you help me.

Re: Newb needs help with many things.

Posted: Fri Nov 19, 2010 10:58 am
by gugamilare
To compile ECl you need to have some experience with Unix terminals. You will need to use Cygwin to compile it.
Anyway, you can try other implementations. In this page there are instructions to compile binaries for Clisp, SBCL and Clozure CL, and these are all available for Windows.

BTW, we did not take much time to help you, this is your first post.

Re: Newb needs help with many things.

Posted: Fri Nov 19, 2010 6:02 pm
by Warren Wilkinson
How you produce an executable really depends on which Lisp implementation you are using. In a few weeks I'll probably be writing a lisp application to mangle some CSV files. I'm looking into Armed Bear common lisp for this task, because I have a hunch it'll let me distribute standalone executables that work on the JVM (although the Armed Bear site never explicitly says it can do this).

Re: Newb needs help with many things.

Posted: Wed Nov 24, 2010 2:50 pm
by shawn_f
Ok, using clisp

So I managed to produce an exe file that runs on windows. The catch is that the program is dependent on libraries that are not native to the windows platform, so they need to be included in the same directory as the program. No biggie for now.

Follow up question: In emacs, is there a command to compile output that shows which libraries (or dlls in windows) the program requires?

Re: Newb needs help with many things.

Posted: Wed Nov 24, 2010 3:31 pm
by indianerrostock
Hello,

Can you explain how you produced the executable file?

Re: Newb needs help with many things.

Posted: Thu Nov 25, 2010 6:36 am
by shawn_f
I'll write up a tutorial after I fiddle around with it a bit, maybe.

Re: Newb needs help with many things.

Posted: Mon Nov 29, 2010 10:50 pm
by k.anderson3454
Is there any tutorials available for this??