help-octave
[Top][All Lists]
Advanced

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

Re: viewing .oct file


From: Carlo de Falco
Subject: Re: viewing .oct file
Date: Mon, 8 Mar 2010 12:05:23 +0100


On 8 Mar 2010, at 11:44, David Grundberg wrote:

xnand wrote:
Hi all.

Is it possible to view the contents of .oct file?

Thanks.

Nands


Files named .oct are binary (shared libraries) and you are not likely to
learn anything from viewing them.

On the other hand, though, .oct files are linked directly to Octave so they are considered "derived work" of Octave. Therefore they are covered by GPLv3 and hence the source code (usually c++) of the .oct file should be distributed along with the binary or, at least, a way to get the source code should be offered.

In particular this means that
1) if you are considering distributing your code in the form of .oct files to prevent users
from accessing the source it will not work.
2) if you want to understand how an .oct file you received with your Octave distribution works, or to modify it,
you can do it by looking at the coresponding .cc source

hth,
David

c.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]