Re: Questions about standalone application behavior
Nicos Angelopoulos (Univ of York) <[email protected]>
| Newsgroups | gmane.comp.ai.prolog.swi |
|---|---|
| Message-ID | <20130923112643.6150d2b9@naga> |
Dear Kyle, On Sun, 22 Sep 2013 18:53:34 -0500 (CDT) Kyle Marple <[email protected]> wrote: > 3. Is it possible to compile an executable that can run on a system without SWI > installed? > > I would like to distribute binaries for my project, but the compiled executables > still rely on libswipl.dll (on Windows). could you bundle this in your distribution ? > Additionally, the DLL must match the > executable, insofar as a 32-bit executable requires a 32-bit libswipl.dll, so a > person with only 64-bit SWI installed can't run the 32-bit binary. Is there a > way to remove this dependency? > this is a work-around rather than a solution, but if you are developing on 64 machine, you could probably install on it Swi for both 32 and 64 and create 2 different executables. there might well be people on the list that distribute/create executables with bundled Swi using standard installers, does anyone care to share ? The pack infrastructure could also be extended towards this, (a) have a hook for installing Swi created executables onto your system, and (b) an installer that installs an "embedded" Swi along with your choice of (executable) packs. hope it helps, Nicos Angelopoulos --- http://bioinformatics.nki.nl/~n.angelopoulos http://maths.york.ac.uk/www/na10