Newb needs help with many things.

Discussion of Common Lisp

Newb needs help with many things.

Postby shawn_f » Fri Nov 19, 2010 9:56 am

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.
shawn_f
 
Posts: 3
Joined: Fri Nov 19, 2010 9:44 am
Location: Montreal, Canada

Re: Newb needs help with many things.

Postby gugamilare » Fri Nov 19, 2010 10:58 am

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.
gugamilare
 
Posts: 406
Joined: Sat Mar 07, 2009 6:17 pm
Location: Brazil

Re: Newb needs help with many things.

Postby Warren Wilkinson » Fri Nov 19, 2010 6:02 pm

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).
Need an online wiki database? My Lisp startup http://www.formlis.com combines a wiki with forms and reports.
User avatar
Warren Wilkinson
 
Posts: 116
Joined: Tue Aug 10, 2010 11:24 pm
Location: Calgary, Alberta

Re: Newb needs help with many things.

Postby shawn_f » Wed Nov 24, 2010 2:50 pm

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?
shawn_f
 
Posts: 3
Joined: Fri Nov 19, 2010 9:44 am
Location: Montreal, Canada

Re: Newb needs help with many things.

Postby indianerrostock » Wed Nov 24, 2010 3:31 pm

Hello,

Can you explain how you produced the executable file?
"Wenn du nicht irrst, kommst du nicht zu Verstand! Willst du entstehn, entsteh auf eigne Hand!" » FAUST II «
-----
http://www.faustas.de
http://www.makeaims.com
http://www.nebelklar.de
indianerrostock
 
Posts: 8
Joined: Sat Mar 20, 2010 11:38 am

Re: Newb needs help with many things.

Postby shawn_f » Thu Nov 25, 2010 6:36 am

I'll write up a tutorial after I fiddle around with it a bit, maybe.
shawn_f
 
Posts: 3
Joined: Fri Nov 19, 2010 9:44 am
Location: Montreal, Canada

Re: Newb needs help with many things.

Postby k.anderson3454 » Mon Nov 29, 2010 10:50 pm

Is there any tutorials available for this??
k.anderson3454
 
Posts: 1
Joined: Mon Nov 29, 2010 10:45 pm


Return to Common Lisp

Who is online

Users browsing this forum: Google [Bot] and 2 guests