4149
|
1 .\" Man page contributed by Dirk Eddelbuettel <edd@debian.org> |
|
2 .\" and released under the GNU GPL |
|
3 .TH MKOCTFILE 1 "1 November 2002" "GNU Octave" |
|
4 .SH NAME |
|
5 mkoctfile - Compile dynamic-load modules for GNU Octave |
|
6 .SH SYNOPSIS |
|
7 .BR mkoctfile\ [-IDIR]\ [-DDEF]\ [-lLIB]\ [-LDIR]\ [-M|--depend]\ |
|
8 [-c]\ [-o FILE|--output FILE]\ [-p VAR|--print VAR]\ [-s|\--strip]\ |
|
9 [-v|--verbose]\ [-h|-?|--help]\ \fIfile\fP .\|.\|. |
|
10 .SH DESCRIPTION |
|
11 .PP |
|
12 \fImkoctfile\fP is used to compile source C, C++ or Fortran source code in |
4672
|
13 dynamically loadable |
|
14 .I .oct |
4149
|
15 file for |
|
16 .BR octave (1). |
|
17 .SH OPTIONS |
|
18 \fImkoctfile\fP accepts the following options: |
|
19 .TP 8 |
|
20 .B \-IDIR |
|
21 Add include directory DIR to compile commands. |
|
22 .TP 8 |
|
23 .B \-DDEF |
|
24 Add definition DEF to compiler call. |
|
25 .TP 8 |
|
26 .B \-lLIB |
|
27 Add library LIB to link command. |
|
28 .TP 8 |
|
29 .B \-LDIR |
|
30 Add library directory DIR to link command. |
|
31 .TP 8 |
|
32 .B \-M|\-\-depend |
|
33 Generate dependency files (.d) for C and C++ source files. |
|
34 .TP 8 |
|
35 .B \-c |
|
36 Compile but do not link. |
|
37 .TP 8 |
|
38 .B \-o FILE|\-\-output FILE |
5864
|
39 Output file name; default extension is .oct (or .mex if --mex is |
|
40 specified) unless linking a stand-alone executable. |
4149
|
41 .TP |
|
42 .B \-p VAR|\-\-print VAR |
|
43 Print configuration variable VAR. Recognized variables are: |
|
44 .RS |
5669
|
45 ALL_CFLAGS FFTW_LIBS |
|
46 ALL_CXXFLAGS FLIBS |
|
47 ALL_FFLAGS FPICFLAG |
|
48 ALL_LDFLAGS INCFLAGS |
|
49 BLAS_LIBS LDFLAGS |
|
50 CC LD_CXX |
|
51 CFLAGS LD_STATIC_FLAG |
|
52 CPICFLAG LFLAGS |
|
53 CPPFLAGS LIBCRUFT |
|
54 CXX LIBOCTAVE |
|
55 CXXFLAGS LIBOCTINTERP |
|
56 CXXPICFLAG LIBREADLINE |
|
57 DEPEND_EXTRA_SED_PATTERN LIBS |
|
58 DEPEND_FLAGS OCTAVE_LIBS |
|
59 DL_LD RDYNAMIC_FLAG |
|
60 DL_LDFLAGS RLD_FLAG |
|
61 F2C SED |
|
62 F2CFLAGS XTRA_CFLAGS |
|
63 F77 XTRA_CXXFLAGS |
|
64 FFLAGS |
4149
|
65 .RE |
|
66 .TP 8 |
5745
|
67 .B \-\-link-stand-alone |
|
68 Link a stand-alone executable file. |
6024
|
69 .TP 8 |
5864
|
70 .B \-\-mex |
|
71 Assume we are creating a MEX file. Set the default output extension |
|
72 to .mex. |
5745
|
73 .TP 8 |
4149
|
74 .B \-s|--strip |
|
75 Strip the output file. |
|
76 .TP 8 |
|
77 .B \-v|--verbose |
|
78 Echo commands as they are executed. |
|
79 .TP 8 |
|
80 .B file |
5745
|
81 Compile or link file. Recognised file types are |
4149
|
82 .RS |
|
83 .c C source |
|
84 .cc C++ source |
|
85 .C C++ source |
|
86 .cpp C++ source |
|
87 .f Fortran source |
|
88 .F Fortran source |
|
89 .o object file |
|
90 .SH SEE ALSO |
|
91 .BR octave (1). |
|
92 .RE |
|
93 .SH AUTHOR |
|
94 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
95 |
|
96 This manual page was contributed by Dirk Eddelbuettel |
|
97 <edd@debian.org> for the Debian GNU/Linux distribution but |
|
98 may be used by others. |