Hi Sudhakar,
At one time, myself and a colleague were attempting precisely to shave
off XSB in order to include it in a minimal size factory controller
memory. At the time (XSB 3.0 in CVS), we managed to cut it down to
roughly a 2 MB size... basically we trimmed down on all the packages
we didn't use (like Terry suggested), along with anything related to
documentation, examples and the build process itself.
Also in many cases we were also able to trim down the (.P) prolog
source files as well, leaving only the precompiled (.xwam) files.
If you want to, I can try and have a look at that distribution to see
how we organized things in more detail, but it is indeed possible and
it worked fine (we run XSB and Smodels integrated via XASP).
Best regards,
Gonçalo
On 03/10/2007, Terrance Swift <tswift-EX0cT3Az47bauI2f2gSDlQ@xxxxxxxxxxxxxxxx>
wrote:
>
> It depends on what you are doing, of course, but...
>
> You should be able to exclude the docs and examples directory in your
> distribution, and anything in packages that you aren't using.
>
> If you have been running a log of configure and makes, there may be some
> old configurations that you aren't using -- however if you downloaded the
> executables this won't be an issue.
>
> This should get rid of most of the excess code. If you still need to
> shave things afterwards, let me know an we can try to proceed further.
>
> Terry
>
> On Wed, 3 Oct 2007, sudhakar govindavajhala wrote:
>
> > Hi XSB folks,
> >
> >
> > I use XSb for my project. The size of my project is about 2 MB. I want to
> > package XSB along with my project code so that the user gets a "click and
> > run" experience.
> >
> >
> > XSB is about 30-40MB. What are the most essential files so that I can just
> > make a copy of them and include in my project? I tried to figure this out by
> > excluding files, but it is not working out. I am using XSB on Windows.
> >
> >
> >
> >
> > --Sudhakar
> >
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Xsb-development mailing list
> Xsb-development-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/xsb-development
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
|