[Prev][Next][Index][Thread]

Re: Distributing Dylan apps



On Thu, 13 Dec 2001, Bruce Hoult wrote:

> > I'm running on a Win2K machine with Cygwin. What do I need to distribute
> > together with my exe files produced by d2c to allow other, possibly
> > non-cygwin/non-dylan users to run them? Will cygwin.dll be enough? Is
> > there any way to make a fully stand-alone exe which need no other files?
> 
> If you use "d2c -s" (or --static) then your program will be statically 
> linked with all Dylan libraries, so you won't need to distribute it with 
> anything else.
> 
> At that point, if you need anything else it's because of Cygwin, which I 
> don't know anything about.  But the answer is the same as what you do to 
> distribute C or C++ programs.  On Linux you also need to add a 
> "linker-options: -Xlinker -Bstatic" line to the .lid file if you want 
> the C library linked in statically as well, but that's obviously 
> platform dependent and probably not necessary.
> 
Ok great. For the record I tried and the statically linked exe only needs
cygwin1.dll. By UPX-packing them I get down to a total of aroung 570kb so
its ok.

> Since you're running on Windows, you should probably also go to 
> www.functional-objects.com and download their free personal edition and 
> give it a try.  It's got a nice IDE and debugger which we don't yet have 
> in Gwydion (and probably won't for a long time) and generates native 
> Windows programs.
> 
Yes, I tried FunO's product but it needed a couple of pretty large DLL's
when distributing the app so the solution above gives me a simpler final
solution. There might be other advantages I haven't considered though
(speed, IDE, debugger etc). I'll check it out some more. Is it actively
developed?

For an IDE for Gwydion have you considered OTI's/IBM's Eclipse
(eclipse.org)? Its a plug-in based IDE framework now being
open-sourced. Lot of activity on using it for IDE's for Ruby, Python
etc. Might be interesting also for Dylan?!

Regards,

Robert Feldt




Follow-Ups: References: