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 |
|
39 Output file name; default extension is .oct. |
|
40 .TP |
|
41 .B \-p VAR|\-\-print VAR |
|
42 Print configuration variable VAR. Recognized variables are: |
|
43 .RS |
5669
|
44 ALL_CFLAGS FFTW_LIBS |
|
45 ALL_CXXFLAGS FLIBS |
|
46 ALL_FFLAGS FPICFLAG |
|
47 ALL_LDFLAGS INCFLAGS |
|
48 BLAS_LIBS LDFLAGS |
|
49 CC LD_CXX |
|
50 CFLAGS LD_STATIC_FLAG |
|
51 CPICFLAG LFLAGS |
|
52 CPPFLAGS LIBCRUFT |
|
53 CXX LIBOCTAVE |
|
54 CXXFLAGS LIBOCTINTERP |
|
55 CXXPICFLAG LIBREADLINE |
|
56 DEPEND_EXTRA_SED_PATTERN LIBS |
|
57 DEPEND_FLAGS OCTAVE_LIBS |
|
58 DL_LD RDYNAMIC_FLAG |
|
59 DL_LDFLAGS RLD_FLAG |
|
60 F2C SED |
|
61 F2CFLAGS XTRA_CFLAGS |
|
62 F77 XTRA_CXXFLAGS |
|
63 FFLAGS |
4149
|
64 .RE |
|
65 .TP 8 |
5745
|
66 .B \-\-link-stand-alone |
|
67 Link a stand-alone executable file. |
|
68 .TP 8 |
4149
|
69 .B \-s|--strip |
|
70 Strip the output file. |
|
71 .TP 8 |
|
72 .B \-v|--verbose |
|
73 Echo commands as they are executed. |
|
74 .TP 8 |
|
75 .B file |
5745
|
76 Compile or link file. Recognised file types are |
4149
|
77 .RS |
|
78 .c C source |
|
79 .cc C++ source |
|
80 .C C++ source |
|
81 .cpp C++ source |
|
82 .f Fortran source |
|
83 .F Fortran source |
|
84 .o object file |
|
85 .SH SEE ALSO |
|
86 .BR octave (1). |
|
87 .RE |
|
88 .SH AUTHOR |
|
89 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
90 |
|
91 This manual page was contributed by Dirk Eddelbuettel |
|
92 <edd@debian.org> for the Debian GNU/Linux distribution but |
|
93 may be used by others. |