Mercurial > octave-nkf
annotate doc/interpreter/mkoctfile.1 @ 12254:23385f2c90b7 release-3-4-x
whitespace fixes
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 26 Jan 2011 23:49:42 -0500 |
parents | fd0a3ac60b0e |
children | 402456ba3f61 |
rev | line source |
---|---|
11523 | 1 .\" Copyright (C) 2000-2011 Dirk Eddelbuettel |
7018 | 2 .\" |
3 .\" This file is part of Octave. | |
4 .\" | |
5 .\" Octave is free software; you can redistribute it and/or modify it | |
6 .\" under the terms of the GNU General Public License as published by the | |
7 .\" Free Software Foundation; either version 3 of the License, or (at | |
8 .\" your option) any later version. | |
9 .\" | |
10 .\" Octave is distributed in the hope that it will be useful, but WITHOUT | |
11 .\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
12 .\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
13 .\" for more details. | |
14 .\" | |
15 .\" You should have received a copy of the GNU General Public License | |
16 .\" along with Octave; see the file COPYING. If not, see | |
17 .\" <http://www.gnu.org/licenses/>. | |
18 .\" | |
19 .\" This page was contributed by Dirk Eddelbuettel <edd@debian.org> | |
20 .\" | |
4149 | 21 .TH MKOCTFILE 1 "1 November 2002" "GNU Octave" |
22 .SH NAME | |
7595
90ad1f69ca9d
Escape "-" signs that mean the "minus" character
Rafael Laboissiere <rafael@debian.org>
parents:
7018
diff
changeset
|
23 mkoctfile \- Compile dynamic-load modules for GNU Octave |
4149 | 24 .SH SYNOPSIS |
12254 | 25 .BR mkoctfile\ [\-IDIR]\ [\-DDEF]\ [\-lLIB]\ [\-LDIR]\ [\-M|\-\-depend] |
26 \ [\-c]\ [\-o FILE|\-\-output FILE]\ [\-p VAR|\-\-print VAR]\ [\-s|\-\-strip] | |
27 \ [\-v|\-\-verbose]\ [\-h|\-?|\-\-help]\ \fIfile\fP .\|.\|. | |
4149 | 28 .SH DESCRIPTION |
29 .PP | |
30 \fImkoctfile\fP is used to compile source C, C++ or Fortran source code in | |
12254 | 31 dynamically loadable |
4672 | 32 .I .oct |
12254 | 33 file for |
4149 | 34 .BR octave (1). |
35 .SH OPTIONS | |
36 \fImkoctfile\fP accepts the following options: | |
37 .TP 8 | |
38 .B \-IDIR | |
39 Add include directory DIR to compile commands. | |
40 .TP 8 | |
41 .B \-DDEF | |
42 Add definition DEF to compiler call. | |
43 .TP 8 | |
44 .B \-lLIB | |
45 Add library LIB to link command. | |
46 .TP 8 | |
47 .B \-LDIR | |
48 Add library directory DIR to link command. | |
49 .TP 8 | |
50 .B \-M|\-\-depend | |
51 Generate dependency files (.d) for C and C++ source files. | |
52 .TP 8 | |
53 .B \-c | |
54 Compile but do not link. | |
55 .TP 8 | |
56 .B \-o FILE|\-\-output FILE | |
7595
90ad1f69ca9d
Escape "-" signs that mean the "minus" character
Rafael Laboissiere <rafael@debian.org>
parents:
7018
diff
changeset
|
57 Output file name; default extension is .oct (or .mex if \-\-mex is |
5864 | 58 specified) unless linking a stand-alone executable. |
4149 | 59 .TP |
60 .B \-p VAR|\-\-print VAR | |
61 Print configuration variable VAR. Recognized variables are: | |
62 .RS | |
12254 | 63 ALL_CFLAGS FFTW_LIBS |
64 ALL_CXXFLAGS FLIBS | |
65 ALL_FFLAGS FPICFLAG | |
66 ALL_LDFLAGS INCFLAGS | |
67 BLAS_LIBS LDFLAGS | |
68 CC LD_CXX | |
5669 | 69 CFLAGS LD_STATIC_FLAG |
12254 | 70 CPICFLAG LFLAGS |
71 CPPFLAGS LIBCRUFT | |
72 CXX LIBOCTAVE | |
73 CXXFLAGS LIBOCTINTERP | |
74 CXXPICFLAG LIBREADLINE | |
75 DEPEND_EXTRA_SED_PATTERN LIBS | |
76 DEPEND_FLAGS OCTAVE_LIBS | |
77 DL_LD RDYNAMIC_FLAG | |
78 DL_LDFLAGS RLD_FLAG | |
79 F2C SED | |
80 F2CFLAGS XTRA_CFLAGS | |
81 F77 XTRA_CXXFLAGS | |
5669 | 82 FFLAGS |
4149 | 83 .RE |
84 .TP 8 | |
5745 | 85 .B \-\-link-stand-alone |
86 Link a stand-alone executable file. | |
6024 | 87 .TP 8 |
5864 | 88 .B \-\-mex |
89 Assume we are creating a MEX file. Set the default output extension | |
90 to .mex. | |
5745 | 91 .TP 8 |
4149 | 92 .B \-s|--strip |
93 Strip the output file. | |
94 .TP 8 | |
95 .B \-v|--verbose | |
96 Echo commands as they are executed. | |
97 .TP 8 | |
98 .B file | |
12254 | 99 Compile or link file. Recognised file types are |
4149 | 100 .RS |
101 .c C source | |
102 .cc C++ source | |
103 .C C++ source | |
104 .cpp C++ source | |
105 .f Fortran source | |
106 .F Fortran source | |
107 .o object file | |
6294 | 108 .a library file |
7647
7b382848a18f
Remove spurious whitespace before macros
Rafael Laboissiere <rafael@debian.org>
parents:
7595
diff
changeset
|
109 .SH SEE ALSO |
7b382848a18f
Remove spurious whitespace before macros
Rafael Laboissiere <rafael@debian.org>
parents:
7595
diff
changeset
|
110 .BR octave (1). |
4149 | 111 .RE |
112 .SH AUTHOR | |
9322 | 113 John W. Eaton <jwe@octave.org> |
4149 | 114 |
115 This manual page was contributed by Dirk Eddelbuettel | |
12254 | 116 <edd@debian.org> for the Debian GNU/Linux distribution but |
4149 | 117 may be used by others. |