1MKOCTFILE(1)                General Commands Manual               MKOCTFILE(1)
2
3
4

NAME

6       mkoctfile - Compile dynamic-load modules for GNU Octave
7

SYNOPSIS

9       mkoctfile [OPTION]... file...
10

DESCRIPTION

12       mkoctfile  is  used  to  compile C, C++, or Fortran source code in to a
13       dynamically loadable .oct file for octave(1).
14

OPTIONS

16       -h, -?, --help
17               Print help message.
18
19       -Idir   Add include directory dir to compile commands.
20
21       -idirafterdir
22               Add include directory to second include search path after '-I'.
23
24       -Ddef   Add definition def to compiler command.
25
26       -llib   Add library lib to link command.
27
28       -Ldir   Add library directory dir to link command.
29
30       -Rdir   Pass -Rdir to link command.
31
32       -g      Enable debugging option for all compilers.
33
34       -pthread
35               Add -pthread to link command.
36
37       -W...   Pass flags to the compiler such as -Wa,OPTION.
38
39       -Wl,... Pass flags to the linker such as -Wl,-rpath=...
40
41       -M, --depend
42               Generate dependency files (.d) for C and C++ source files.
43
44       -c      Compile but do not link.
45
46       --link-stand-alone
47               Link a stand-alone executable file.
48
49       -s, --strip
50               Strip the output file.
51
52       --mex   Create a MEX file.  Set the default output extension to .mex.
53
54       -o file, --output file
55               Output filename.  Default extension is .oct (or .mex  if  --mex
56               is specified) unless linking a stand-alone executable.
57
58       -p VAR, --print VAR
59               Print configuration variable VAR.  Recognized variables are:
60                   ALL_CFLAGS                FFTW3F_LDFLAGS
61                   ALL_CXXFLAGS              FFTW3F_LIBS
62                   ALL_FFLAGS                FLIBS
63                   ALL_LDFLAGS               FPICFLAG
64                   AR                        INCFLAGS
65                   BLAS_LIBS                 LAPACK_LIBS
66                   CC                        LDFLAGS
67                   CFLAGS                    LD_CXX
68                   CPICFLAG                  LD_STATIC_FLAG
69                   CPPFLAGS                  LFLAGS
70                   CXX                       LIBOCTAVE
71                   CXXFLAGS                  LIBOCTINTERP
72                   CXXPICFLAG                LIBS
73                   DEPEND_EXTRA_SED_PATTERN  OCTAVE_LIBS
74                   DEPEND_FLAGS              OCTAVE_LINK_DEPS
75                   DL_LD                     OCT_LINK_DEPS
76                   DL_LDFLAGS                RANLIB
77                   EXEEXT                    RDYNAMIC_FLAG
78                   F77                       READLINE_LIBS
79                   F77_INTEGER_8_FLAG        SED
80                   FFLAGS                    XTRA_CFLAGS
81                   FFTW3_LDFLAGS             XTRA_CXXFLAGS
82                   FFTW3_LIBS
83
84       -v, --verbose
85               Echo commands as they are executed.
86
87       file    Compile or link file.  Recognized file types are
88                  .c    C source
89                  .cc   C++ source
90                  .cp   C++ source
91                  .cpp  C++ source
92                  .CPP  C++ source
93                  .cxx  C++ source
94                  .c++  C++ source
95                  .C    C++ source
96                  .f    Fortran source (fixed form)
97                  .F    Fortran source (fixed form)
98                  .f90  Fortran source (free form)
99                  .F90  Fortran source (free form)
100                  .o    object file
101                  .a    library file
102

AUTHOR

104       John W. Eaton <jwe@octave.org>
105
106       This  manual page was contributed by Dirk Eddelbuettel <edd@debian.org>
107       for the Debian GNU/Linux distribution but may be used by others.
108

SEE ALSO

110       octave (1).
111
112
113
114GNU Octave                      3 January 2014                    MKOCTFILE(1)
Impressum