help-octave
[Top][All Lists]
Advanced

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

How to compile new functions submitted to mailing list


From: Keith Goodman
Subject: How to compile new functions submitted to mailing list
Date: Wed, 18 May 2005 09:16:36 -0700

All sorts of interesting functions are submitted to the Octave mailing
lists. How do I compile them? Does the answer depend on how the
function was meant to be called (as a dynamically linked function,
built-in function, etc.)?

For example I would like to try eigs. My computer is setup to complie
Octave from source. The source code for eigs.cc

http://www.octave.org/mailing-lists/octave-maintainers/2005/405

starts out like this

// XXX FIXME XXX. Comment out HAVE_CONFIG_H for build outside of octave!!
//#ifdef HAVE_CONFIG_H
#include <config.h>
//#endif

#include <cfloat>
#include <cmath>

#include "ov.h"
#include "defun-dld.h"
#include "error.h"
#include "f77-fcn.h"
#include "quit.h"
#include "variables.h"
#include "ov-re-sparse.h"
#include "ov-cx-sparse.h"
#include "SparseType.h"
#include "oct-map.h"



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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