[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
liboctave standalone
From: |
Marcin Baranowski |
Subject: |
liboctave standalone |
Date: |
Fri, 14 Feb 2003 15:22:44 +0100 |
User-agent: |
Mutt/1.4i |
Hi!
It is possible to use liboctave as standalone library to link with C++
applications. It has nice C++ classes interface.
Unfortunately, it requires some libraries, that absolutery aren't needed by
non-interactive applications (or applications with graphical frontends).
It's possible to move some symbols from liboctave to octave binary, for example.
These are: pic/cmd-edit.o pic/cmd-hist.o pic/oct-rl-edit.o pic/oct-rl-hist.o
(both requires libreadline and libncurses). Also, little change in
liboctave/str-vec.cc:
int line_length = command_editor::terminal_cols ();
to
int line_length = 80;
Now, it's enough to link applications with -loctave -lcruft -lg2c -ldl
How about this idea? Was it dissucced before?
--
Marcin Baranowski address@hidden
Intercon (42)6334048
+48603802486
- liboctave standalone,
Marcin Baranowski <=