summaryrefslogtreecommitdiff
path: root/.html/muds/tinyfugue-on-yosemite.html
blob: d5c6a32b171d2b0c308e88750c22214cf678df28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<!DOCTYPE html>
<html>
<head>
	<title>
		The Codex » 
		Compiling TinyFugue on Yosemite
	</title>

	<link
		rel='stylesheet'
		type='text/css'
		href='http://fonts.googleapis.com/css?family=Buenard:400,700&amp;subset=latin,latin-ext'>
	<link
		rel="stylesheet"
		type="text/css"
		href="../media/css/reset.css">
	<link
		rel="stylesheet"
		type="text/css"
		href="../media/css/grimoire.css">
</head>
<body>

<div id="shell">
	
		<ol id="breadcrumbs">
			
				<li class="crumb-0 not-last">
					
						<a href="../">index</a>
					
				</li>
			
				<li class="crumb-1 not-last">
					
						<a href="./">muds</a>
					
				</li>
			
				<li class="crumb-2 last">
					
						tinyfugue-on-yosemite
					
				</li>
			
		</ol>
	

	
	<div id="article">
		<h1 id="compiling-tinyfugue-on-yosemite">Compiling TinyFugue on Yosemite</h1>
<p>TinyFugue's site claims that it works on OS X. This is largely true, but the
switch from <code>gcc</code> to <code>clang</code> has eliminated support for some <em>deeply</em> legacy
symbols.</p>
<p>Since SourceForge is a death zone, I'll post my fix here. To get TinyFugue to
compile, apply the following patch:</p>
<pre><code>--- src/malloc.c.orig   2015-02-13 23:45:44.000000000 -0500
+++ src/malloc.c    2015-02-13 23:45:28.000000000 -0500
@@ -12,7 +12,6 @@
 #include "signals.h"
 #include "malloc.h"

-caddr_t mmalloc_base = NULL;
 int low_memory_warning = 0;
 static char *reserve = NULL;
</code></pre>
<p>This symbol appears to be unused. Certainly I haven't been able to find any
references, and <code>tf</code> works well enough.</p>
	</div>


	
<div id="comments">
<div id="disqus_thread"></div>
<script type="text/javascript">
    /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
    var disqus_shortname = 'grimoire'; // required: replace example with your forum shortname

    /* * * DON'T EDIT BELOW THIS LINE * * */
    (function() {
        var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
        dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
        (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
    })();
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
</div>


	
	<div id="footer">
		<p>
			
				The Codex —
			
			Powered by <a href="http://markdoc.org/">Markdoc</a>.
			
<a href="https://bitbucket.org/ojacobson/grimoire.ca/src/master/wiki/muds/tinyfugue-on-yosemite.md">See this page on Bitbucket</a> (<a href="https://bitbucket.org/ojacobson/grimoire.ca/history-node/master/wiki/muds/tinyfugue-on-yosemite.md">history</a>).

		</p>
	</div>
	
</div>
</body>
</html>