[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to combine several functions in a single oct-file? (2)
From: |
c. |
Subject: |
Re: How to combine several functions in a single oct-file? (2) |
Date: |
Mon, 13 Feb 2012 13:28:50 +0100 |
On 13 Feb 2012, at 13:20, Lukas Reichlin wrote:
> Thanks, Carlo. I think I do the following:
> 1. Include slicot.tar.gz [1] (as an archive) in my package. Adapt the package
> makefile such that it compiles all the Fortran code inside the archive and
> that it creates a static library (slicotlibrary.a) out of it. Then I include
> that library in my various oct-files.
>
> If I succeed with 1:
> 2. Combine all my DEFUN_DLD in one oct-file, link slicotlibrary.a statically
> and use autoload as you proposed.
Sounds like a reasonable choice.
> One last question: Does mkoctfile create the PKG_ADD file automatically if
> needed? Or do I have to create it manually?
It's up to you: if you insert directives [1] in your .m or .cc files pkg will
generate the PKG_ADD files,
otherwise you can write them manually.
c.
[1]
http://www.gnu.org/software/octave/doc/interpreter/PKG_005fADD-and-PKG_005fDEL-Directives.html#PKG_005fADD-and-PKG_005fDEL-Directives
- Re: How to combine several functions in a single oct-file?, (continued)
- Re: How to combine several functions in a single oct-file?, Carlo de Falco, 2012/02/10
- Re: How to combine several functions in a single oct-file?, Michael Goffioul, 2012/02/12
- Re: How to combine several functions in a single oct-file?, Lukas Reichlin, 2012/02/12
- Re: How to combine several functions in a single oct-file? (2), Lukas Reichlin, 2012/02/12
- Re: How to combine several functions in a single oct-file? (2), Michael Goffioul, 2012/02/12
- Re: How to combine several functions in a single oct-file? (2), Lukas Reichlin, 2012/02/13
- Re: How to combine several functions in a single oct-file? (2), Michael Goffioul, 2012/02/13
- Re: How to combine several functions in a single oct-file? (2), Lukas Reichlin, 2012/02/13
- Re: How to combine several functions in a single oct-file? (2), Michael Goffioul, 2012/02/13
- Message not available
- Re: How to combine several functions in a single oct-file? (2), Lukas Reichlin, 2012/02/13
- Re: How to combine several functions in a single oct-file? (2),
c. <=
- Re: How to combine several functions in a single oct-file? (2), Lukas Reichlin, 2012/02/13