From: <ad...@fr...> - 2001-10-26 00:14:58
|
On Thu, 25 Oct 2001, Paul Kienzle wrote: > If you must have > the functions in the oct file, then you will need to recompile octave with the > source in the the src/DLD-FUNCTIONS subdirectory and listed on the DLD_XSRC line > in src/Makefile. I don't know what flags are used to build on the PC. It may be > that "./configure ; make " is all you need to do and it will figure out that it > is a PC and that it should compile a static version of Octave, or it may be that you > have to explicitly force it to be static. Whatever the case, write it up on > INSTALL.win so we can include it on the octave-forge site. Thanks, you need to edit a Makefile, and edit the oct files and put them in the src/DLD-FUNCTIONS directory. The build works fine with ./configure ; make Here is an old email about it. _______________________________________ Andy Adler, ad...@nc... >On Tue, 12 Jun 2001, John W. Eaton wrote: >> I assume you are using 2.1.x. As Dirk said, you can drop the >> functions in with the sources, and that's about it. If you put the >> functions in the src/DLD-FUNCTIONS directory, then you would also >> need to add the names of the .cc files to the DLD_XSRC list in >> src/Makefile.in and then run >> >> CONFIG_FILES=src/Makefile ./config.status >> make >> >> in the top-level build directory. >> > >I've found (at least for the win32 build) that you need >to edit the include files section as well. I posted my recipe >in http://www.octave.org/mailing-lists/help-octave/2000/1639 > >Change the includes in foobar.cc > replace #include <oct.h> > with #ifdef HAVE_CONFIG_H > #include <config.h> > #endif > #include "defun-dld.h" > #include "error.h" > #include "gripes.h" > #include "oct-obj.h" > #include "utils.h" > |