Игорь Пашев <pashev.i...@gmail.com> writes:

| Hi, all.

Hi Igor,

Thanks for your efforts.

| I'm working to improve debian package for OpenAxiom,
| Debian tool lintian is very helpful for this :-)
| 
| It was noted that files  /usr/lib/open-axiom/algebra/*.fasl


The files algebra/*.fasl are the results of compiling Lisp codes generated
from OpenAxiom algebras.  As such, they are the heart of the system --
think of them as some of sort DLLs.  Every time the interpreter needs
the defnition of a domain (for the purpose of a computation), it
automatically loads the corresponding modules.  You can see this by
asking the interpreter to be verbose.  Try:

    )set message autoload on
    factor(x^2 - 3*x + 1)

The extension .fasl is just what SBCL uses to distinguish a FASL from
pure Lisp source code.  Every Lisp system has its own FASL format and
they are not interchangeable.

| have shebags:
| ================ >8 =======================
| #!/home/pashev/work/projects/debian/open-axiom-debian/build-tree/src/interp/
| interpsys --script
| # FASL
|   compiled from 
"/home/pashev/work/projects/debian/open-axiom-debian/build-tree
| /src/algebra/XF-.NRLIB/code.lsp"
|   using SBCL version 1.0.50.0.debian
| ================ >8 =======================
| 
| but these files aren't executable.

Yes, the FASLs are generally not executable -- they are just binary
files that the Lisp system can load.

The file "interpsys" is executable.  It is the main executable we use to
build the OpenAxiom algebra.  I suspect that the header that you show
above is SBCL's new way to implement "build a standalone program out of
previously compiled FASLs."

| So, I have questions:
| 
| 1. What is the purpose for these shebangs? Only for building? Or run time?
| 2. May I remove "compiled from ..."?
| 3. Can I completely remove sgebangs? (interpsys is not installed at all)

I think you should not remove them as it is part of the way SBCL does
things, but maybe it is a question for SBCL developers...

Again thanks for your debian efforts.

-- Gaby

------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
open-axiom-devel mailing list
open-axiom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open-axiom-devel

Reply via email to