annotate README.MachTen @ 4720:e759d01692db ss-2-1-53

[project @ 2004-01-23 04:13:37 by jwe]
author jwe
date Fri, 23 Jan 2004 04:13:37 +0000
parents 4427d432e220
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3245
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
1 The information in this file is from A. Scottedward Hodel
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
2 <A.S.Hodel@Eng.Auburn.EDU>.
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
3
4183
4427d432e220 [project @ 2002-11-15 20:38:11 by jwe]
jwe
parents: 3245
diff changeset
4 * 11/15/2002: Power MachTen is no longer supported by Tenon Intersystems
4427d432e220 [project @ 2002-11-15 20:38:11 by jwe]
jwe
parents: 3245
diff changeset
5 * since Mac OS X permits running Octave directly on its BSD-based OS.
4427d432e220 [project @ 2002-11-15 20:38:11 by jwe]
jwe
parents: 3245
diff changeset
6 * See http://fink.sourceforge.net for directions on installation of Octave
4427d432e220 [project @ 2002-11-15 20:38:11 by jwe]
jwe
parents: 3245
diff changeset
7 * on Macintosh.
4427d432e220 [project @ 2002-11-15 20:38:11 by jwe]
jwe
parents: 3245
diff changeset
8
3245
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
9 I've installed and run Octave 2.0.12 on Power MachTen 4.1. I've
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
10 also installed Octave-2.1.14 on Power MachTen 4.1.1 (the process is slightly
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
11 different). This note contains instructions on how to port octave to MachTen
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
12 4.1/4.1.1.
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
13
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
14 Many thanks to Tenon Intersystems support for their help in porting to
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
15 Machten 4.1.1.
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
16
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
17 Contents:
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
18 (1) Definitions
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
19 (2) Future work
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
20 (3) Instructions for installation of Octave 2.0.12 on MachTen 4.1.
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
21 (4) Instructions for installation of Octave 2.1.14 on MachTen 4.1.1.
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
22
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
23 (1) Definitions:
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
24 ============
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
25 Power MachTen: Unix that runs simultaneously with MacOS on Mac computers.
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
26 see http://tenon.com for more information.
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
27
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
28 Octave: a Matlab-like programming language that is freely distributable
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
29 under the terms of the gnu copyright rules. Octave is NOT
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
30 (and will not) be a MATLAB(tm) clone; however, the functionality
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
31 of the program is similar.
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
32
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
33 see: http://bevo.che.wisc.edu/octave for more information.
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
34 a control systems toolbox is available at
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
35 ftp://ftp.eng.auburn.edu/pub/hodel/OCST*
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
36
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
37 (2) Future work:
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
38 =============
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
39 Dynamic linking is apparently not yet supported, so .oct files cannot be used
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
40 (yet) in Power MachTen.
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
41
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
42 (3) To install Octave on MachTen 4.1:
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
43 =============
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
44 Short instructions: MachTen automatically defines __MACHTEN_PPC__ on
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
45 power MachTen. The octave configure script sets most everything up properly.
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
46 Here's a few details that also need done:
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
47
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
48 (a) Put libncurses into the Tenon Application Library Folder
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
49 (b) Replace the MT /usr/bin/sed with gnu sed (I used 2-0.5).
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
50 (c) <sys/signal.h>: Is fixed in MachTen 4.1.1
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
51 (d) Set virtual memory to a huge number (I used 200Mb)
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
52 (f) make all; it will fail on toplev.cc due to a problem with src/oct-conf.h
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
53 (g) Fix src/oct-conf.h and make all again.
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
54 (g) make install
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
55
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
56 Here are the details for the above items:
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
57 (a) Be sure that libncurses is in the Tenon Application Library in
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
58 the Extensions folder:
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
59
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
60 (i) use resedit.
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
61 (ii) Open the libncurses file in folder:
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
62 Extensions/Tenon Applications Library/disabled
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
63 (iii) Open the cfrag resource. Scroll down a bit and you will find the
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
64 string libcurses. Change it to libncurses. Save.
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
65 (iv) Change (File Menu/File Information) the file creator to MUMM. Save.
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
66 (v) now move libncurses out of the disabled folder to
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
67 Extensions/Tenon Applications Library
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
68 (vi) Reboot.
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
69
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
70 (b) Replace the MT /usr/bin/sed with gnu sed (I used 2-0.5).
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
71 This fixes a problem with the kpathsea/klibtool script.
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
72
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
73 (c) Login as root and apply the following patch to /usr/include/sys/signal.h:
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
74 Otherwise src/sighandlers.cc will not compile properly. (The change
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
75 is consistent with <sys/signal.h> headers on our sun network as well.)
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
76
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
77 *** signal.h.old Thu May 7 13:16:11 1998
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
78 --- signal.h Thu May 7 13:34:27 1998
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
79 ***************
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
80 *** 253,260 ****
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
81 /*
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
82 * Signal vector "template" used in sigaction call.
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
83 */
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
84 ! #struct sigaction {
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
85 void (*sa_handler)(); /* signal handler */
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
86 sigset_t sa_mask; /* signal mask to apply */
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
87 int sa_flags; /* see signal options below */
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
88 };
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
89 --- 253,264 ----
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
90 /*
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
91 * Signal vector "template" used in sigaction call.
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
92 */
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
93 ! struct sigaction {
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
94 ! #ifdef __cplusplus
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
95 ! void (*sa_handler)(int); /* signal handler */
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
96 ! #else
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
97 void (*sa_handler)(); /* signal handler */
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
98 + #endif
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
99 sigset_t sa_mask; /* signal mask to apply */
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
100 int sa_flags; /* see signal options below */
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
101 };
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
102
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
103
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
104 (d) Set virtual memory to a huge number (I used 120Mb). Otherwise compiles
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
105 will fail.
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
106
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
107 (e) (cd src ; make oct-conf.h)
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
108
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
109 (f) Fix src/oct-conf.h
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
110
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
111 You'll need to change the line
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
112
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
113 #define DEFS "-DOCTAVE_SOURCE=1 -DSEPCHAR=':' -DSEPCHAR_STR=":"
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
114 to
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
115 #define DEFS "-DOCTAVE_SOURCE=1 -DSEPCHAR=':' -DSEPCHAR_STR=\":\"
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
116
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
117 It should have been done automatically (take a look at UGLY_DEFS in
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
118 the toplevel Makeconf), but for some reason it doesn't go. Failure to
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
119 edit oct-conf.h results in a compilation error in toplev.cc.
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
120
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
121 (g) make all
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
122 (h) make install
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
123
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
124 And that should do it.
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
125
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
126 (4) To install Octave on MachTen 4.1.1:
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
127 =============
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
128 Short instructions: MachTen automatically defines __MACHTEN_PPC__ on
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
129 power MachTen. The octave configure script sets most everything up properly.
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
130 Here's a few details that also need done:
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
131
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
132 (a) libncurses, sed, and <sys/signal.h>: are fixed in PowerMachTen 4.1.1 (but not in
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
133 4.1)
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
134 (b) Power MachTen uses gcc-2.8.1, which requires more memory than the
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
135 version used in PowerMachTen 4.1. I set virtual memory to 200 Mb.
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
136 (c) From Tenon technical support: (Thanks!)
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
137 >I think that we have compiling Octave on MachTen. The problem results
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
138 >from the fact that the stack space on the f771 application is not set.
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
139 >This results in f771 running out of memory and corrupting the system
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
140 >process manager heap. To fix this, try:
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
141 >
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
142 >setstackspace 0x100000 /usr/lib/gcc-lib/powerpc-apple/machten4/2.8.1/f771
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
143
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
144 For some reason my system didn't follow the soft links to
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
145 /usr/macppc/lib/gcc-lib/powerpc-apple-machten4/2.8.1/f771. I was
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
146 able to do the command manually with the above path.
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
147
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
148 (d) For increased speed in compiling and decreased disk space requirements,
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
149 you may also wish to omit the "-g" flag from compiler options:
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
150 in the configure script:
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
151 - search for machten (line 2651 in 0ctave-2.1.14).
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
152 - modify so that this section reads
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
153 powerpc-apple-machten*)
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
154 FFLAGS=
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
155 # remove -g to keep binary size down
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
156 CFLAGS=`echo ${CFLAGS} | sed '1,$s/-g//'`
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
157 CXXFLAGS=`echo ${CXXFLAGS} | sed '1,$s/-g//'`
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
158 LDFLAGS=`echo ${LDFLAGS} | sed '1,$s/-g//'`
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
159 ;;
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
160
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
161 Also remove -g from:
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
162 LDFLAGS in readline/examples/Makefile.in
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
163
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
164 (e) Run configure (use the --prefix flag if desired)
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
165
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
166 (f) (cd src ; make oct-conf.h)
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
167
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
168 (g) Fix src/oct-conf.h
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
169
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
170 You'll need to change the line
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
171
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
172 #define DEFS "-DOCTAVE_SOURCE=1 -DSEPCHAR=':' -DSEPCHAR_STR=":"
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
173 to
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
174 #define DEFS "-DOCTAVE_SOURCE=1 -DSEPCHAR=':' -DSEPCHAR_STR=\":\"
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
175
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
176 It should have been done automatically (take a look at UGLY_DEFS in
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
177 the toplevel Makeconf), but for some reason it doesn't go. Failure to
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
178 edit oct-conf.h results in a compilation error in toplev.cc.
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
179
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
180 (h) make all
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
181
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
182 Be prepared to wait quite awhile. Most of the time is spent waiting
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
183 for individual ar commands to build the libraries.
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
184
2270329efd14 [project @ 1999-06-10 03:36:21 by jwe]
jwe
parents:
diff changeset
185 (i) make install