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

NAME

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

SYNOPSIS

9       mkoctfile [-IDIR] [-DDEF] [-lLIB] [-LDIR] [-M|--depend]        [-c] [-o
10       FILE|--output  FILE] [-p  VAR|--print   VAR] [-s|--strip]    [-v|--ver‐
11       bose] [-h|-?|--help] file ...
12

DESCRIPTION

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

OPTIONS

18       mkoctfile accepts the following options:
19
20       -IDIR   Add include directory DIR to compile commands.
21
22       -DDEF   Add definition DEF to compiler call.
23
24       -lLIB   Add library LIB to link command.
25
26       -LDIR   Add library directory DIR to link command.
27
28       -M|--depend
29               Generate dependency files (.d) for C and C++ source files.
30
31       -c      Compile but do not link.
32
33       -o FILE|--output FILE
34               Output file name; default extension is .oct (or .mex  if  --mex
35               is specified) unless linking a stand-alone executable.
36
37       -p VAR|--print VAR
38               Print configuration variable VAR.  Recognized variables are:
39                   ALL_CFLAGS                FFTW_LIBS
40                   ALL_CXXFLAGS              FLIBS
41                   ALL_FFLAGS                FPICFLAG
42                   ALL_LDFLAGS               INCFLAGS
43                   BLAS_LIBS                 LDFLAGS
44                   CC                        LD_CXX
45                   CFLAGS                    LD_STATIC_FLAG
46                   CPICFLAG                  LFLAGS
47                   CPPFLAGS                  LIBCRUFT
48                   CXX                       LIBOCTAVE
49                   CXXFLAGS                  LIBOCTINTERP
50                   CXXPICFLAG                LIBREADLINE
51                   DEPEND_EXTRA_SED_PATTERN  LIBS
52                   DEPEND_FLAGS              OCTAVE_LIBS
53                   DL_LD                     RDYNAMIC_FLAG
54                   DL_LDFLAGS                RLD_FLAG
55                   F2C                       SED
56                   F2CFLAGS                  XTRA_CFLAGS
57                   F77                       XTRA_CXXFLAGS
58                   FFLAGS
59
60       --link-stand-alone
61               Link a stand-alone executable file.  --mex Assume we are creat‐
62               ing a MEX file.  Set the default output extension to .mex.
63
64       -s|--strip
65               Strip the output file.
66
67       -v|--verbose
68               Echo commands as they are executed.
69
70       file    Compile or link file. Recognised file types are
71                   .c    C source
72                   .cc   C++ source
73                   .C    C++ source
74                   .cpp  C++ source
75                   .f    Fortran source
76                   .F    Fortran source
77                   .o    object file
78                   .SH SEE ALSO
79                   .BR octave (1).
80

AUTHOR

82       John W. Eaton <jwe@bevo.che.wisc.edu>
83
84       This manual page was contributed by Dirk Eddelbuettel  <edd@debian.org>
85       for the Debian GNU/Linux distribution but may be used by others.
86
87
88
89GNU Octave                      1 November 2002                   MKOCTFILE(1)
Impressum