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
MKOCTFILE(1) General Commands Manual MKOCTFILE(1)NAME
mkoctfile - Compile dynamic-load modules for GNU Octave
SYNOPSIS
mkoctfile [OPTION]... file...
DESCRIPTION
mkoctfile is used to compile C, C++, or Fortran source code in to a dynamically loadable .oct file for octave(1).
OPTIONS -h, -?, --help
Print help message.
-Idir Add include directory dir to compile commands.
-idirafterdir
Add include directory to second include search path after '-I'.
-Ddef Add definition def to compiler command.
-llib Add library lib to link command.
-Ldir Add library directory dir to link command.
-Rdir Pass -Rdir to link command.
-g Enable debugging option for all compilers.
-pthread
Add -pthread to link command.
-W... Pass flags to the compiler such as -Wa,OPTION.
-Wl,... Pass flags to the linker such as -Wl,-rpath=...
-M, --depend
Generate dependency files (.d) for C and C++ source files.
-c Compile but do not link.
--link-stand-alone
Link a stand-alone executable file.
-s, --strip
Strip the output file.
--mex Create a MEX file. Set the default output extension to .mex.
-o file, --output file
Output file name. Default extension is .oct (or .mex if --mex is specified) unless linking a stand-alone executable.
-p VAR, --print VAR
Print configuration variable VAR. Recognized variables are:
ALL_CFLAGS FFTW3F_LIBS
ALL_CXXFLAGS FLIBS
ALL_FFLAGS FPICFLAG
ALL_LDFLAGS INCFLAGS
BLAS_LIBS LAPACK_LIBS
CC LDFLAGS
CFLAGS LD_CXX
CPICFLAG LD_STATIC_FLAG
CPPFLAGS LFLAGS
CXX LIBCRUFT
CXXFLAGS LIBOCTAVE
CXXPICFLAG LIBOCTINTERP
DEPEND_EXTRA_SED_PATTERN LIBS
DEPEND_FLAGS OCTAVE_LIBS
DL_LD OCTAVE_LINK_DEPS
DL_LDFLAGS OCT_LINK_DEPS
EXEEXT RDYNAMIC_FLAG
F77 READLINE_LIBS
F77_INTEGER_8_FLAG SED
FFLAGS XTRA_CFLAGS
FFTW3_LDFLAGS XTRA_CXXFLAGS
FFTW3_LIBS
FFTW3F_LDFLAGS
-v, --verbose
Echo commands as they are executed.
file Compile or link file. Recognized file types are
.c C source
.cc C++ source
.C C++ source
.cpp C++ source
.f Fortran source (fixed form)
.F Fortran source (fixed form)
.f90 Fortran source (free form)
.F90 Fortran source (free form)
.o object file
.a library file
SEE ALSO
octave (1).
AUTHOR
John W. Eaton <jwe@octave.org>
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 4 February 2011 MKOCTFILE(1)