MKOCTFILE(1) General Commands Manual MKOCTFILE(1)NAME
mkoctfile - Compile dynamic-load modules for GNU Octave
SYNOPSIS
mkoctfile [-IDIR] [-DDEF] [-lLIB] [-LDIR] [-M|--depend] [-c] [-o FILE|--output FILE] [-p VAR|--print VAR] [-s|--strip] [-v|--ver-
bose] [-h|-?|--help] file ...
DESCRIPTION
mkoctfile is used to compile source C, C++ or Fortran source code in dynamically loadble file for octave(1).
OPTIONS
mkoctfile accepts the following options:
-IDIR Add include directory DIR to compile commands.
-DDEF Add definition DEF to compiler call.
-lLIB Add library LIB to link command.
-LDIR Add library directory DIR to link command.
-M|--depend
Generate dependency files (.d) for C and C++ source files.
-c Compile but do not link.
-o FILE|--output FILE
Output file name; default extension is .oct.
-p VAR|--print VAR
Print configuration variable VAR. Recognized variables are:
CPPFLAGS CPICFLAG
INCFLAGS CXX
F2C CXXFLAGS
F2CFLAGS CXXPICFLAG
F77 XTRA_CFLAGS
FFLAGS XTRA_CXXFLAGS
FPICFLAG SHLEXT
CC SH_LD
CFLAGS SH_LDFLAGS
-s|--strip
Strip the output file.
-v|--verbose
Echo commands as they are executed.
file Compile or linke file. Recognised file types are
.c C source
.cc C++ source
.C C++ source
.cpp C++ source
.f Fortran source
.F Fortran source
.o object file
.SH SEE ALSO
.BR octave (1).
AUTHOR
John W. Eaton <jwe@bevo.che.wisc.edu>
This manual page was contributed by Dirk Eddelbuettel <edd@debian.org> for the Debian GNU/Linux distribution but may be used by others.
GNU Octave 1 November 2002 MKOCTFILE(1)
Check Out this Related Man Page
octave-bug(1) General Commands Manual octave-bug(1)NAME
octave-bug - report a bug in GNU Octave
SYNOPSIS
octave-bug [-s subject]
DESCRIPTION
octave-bug is a shell script to help the user compose and mail bug reports concerning Octave in a standard format. octave-bug is typically
invoked by the Octave command bug_report which is intended to be called interactively from within Octave. This provides the best way to
submit a bug report for Octave. It creates a template bug report file and starts an editor on that file. The bug report will be sent to
the bug-octave mailing list once the editing has been completed (this assumes of course that your system can use email). However, the user
could also call octave-bug outside of Octave.
Please read the `Bugs' chapter in the Octave manual to find out how to submit a bug report that will enable the Octave maintainers to fix
the problem. If you are unable to use the bug_report command, send your message to the bug-octave mailing list, bug-
octave@bevo.che.wisc.edu.
OPTIONS -s subject
Specify a subject line for the bug report. Spaces in the subject must be quoted.
ENVIRONMENT VARIABLES
octave-bug uses the environment variables USER, EDITOR, and PAGER which can be used for customization.
VERSION
This document was last revised for Octave version 2.0.16.
SEE ALSO octave(1), bashbug(1)AUTHOR
John W. Eaton
Department of Chemical Engineering
University of Wisconsin-Madison
Madison, WI 53706
USA
<jwe@bevo.che.wisc.edu>
GNU 6 March 2000 octave-bug(1)
hi all,
i have a variable exported as
VAR=ATTRIB
then tried with,
echo "tt" | sed 's/^/$VAR/'
expected result as
ttATTRIB
but obtained only,
$VARtt
i could nt get where i am wrong.
Thanks. (3 Replies)
Hi All,
I need a script to compile multiple *.pli source files.
I can take care of the compile part, it's getting the list of files into an array or parsable string that I'm having the difficult with.
ls or find come to mind, but I can only redirect those to a file. I need to use the file... (2 Replies)
I have this short statement:
size=1
VAR=` wc -c datafile | awk -F" " '{print $1}' `
if
then
dowhatIeed
Question:
How can I make my if statement greater than 1 and less than 20?
How can I make my if statement greater than 1 and equal to 20?
Please advise! (4 Replies)
Hi
i have a variable with lots of tokens seperated with spaces.
e.g VAR="ABC DEF GHSD GHQS TUTSD JHDTQ QDHQ CDQKDGQ WQUTQD DQUTQD DQJGDQ QDTQD WDQUTQDU QDUGQD QDJGQD DQUTDUQ QDUIDTQ"
i want to separate all of the above tokens and call a script with each of the token e.g sh script.sh <TOKEN>... (4 Replies)
I have been working on this for the past hour and I can not figure it out :(
What command would you give to produce a listing of the names of all the text files in ~/UnixCourse or its subdirectories (possibly nested several layers deep) followed immediately by the first line of text within that... (10 Replies)
Hello all,
I have a ksh script run on Solaris 10 by the root user. The section that's giving me errors is the following:
VAR=$(perl -lne '...')
if ] ; then
print "$VAR undefined"
fi
recover_files {
print "Recovering the files..."
cd ${VAR}/files
cp -pr nfs /destination
print... (1 Reply)
Hej guys,
I'm doing some simple matrix operations with octave and don't know where and how it stores it's variables. Is there any file somewhere that could be accessed?
I was using MATLAB before and now Octave is new for me.
Or maybe I should use some commands to save and load it.
but... (0 Replies)
Hej all,
I have an script which I run it with Octave command in Linux, I want to know how could I put bash commands like grep and sed and use them together with octave?
My Octave script:
Script.sh:
m = load ("file", "-ascii")
for i=1:10
g(i)= sin(m)
end
and then I use this... (2 Replies)
This is probably something really simple, but I don't get it. I downloaded a copy of Octave and extracted it to octave-2.1.73-sol10-sparc-local. Now what do I do with it? I chmod'ed it to 777 and tried running it which just gave me an endless stream of errors. Here's the beginning of the file... (4 Replies)
In AIX, why is it variable VAR becomes true in the condition despite VAR was unassigned and not equal to 1?
In Linux, it was traced as an error as VAR is not declared as variable and expecting an integer as argument.
one.sh
VAR=1
if ; then
echo "One"
fi
if ; then
echo "Two"... (5 Replies)
Need assistance in compile a source code with PERL flags
Compile source code CDFconvert-2.2.3 which requires Fortran 90,Perl interpreter , Perl/TK module , NetCDF library , Gempak
I have all the above required libraries .
Issue is when compiling the source code it looks for local... (4 Replies)