File: cs_31.html

package info (click to toggle)
crystalspace 0.94-20020412-3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 62,276 kB
  • ctags: 52,843
  • sloc: cpp: 274,783; ansic: 6,608; perl: 6,276; objc: 3,952; asm: 2,942; python: 2,354; php: 542; pascal: 530; sh: 430; makefile: 370; awk: 193
file content (129 lines) | stat: -rw-r--r-- 4,973 bytes parent folder | download
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- Created by texi2html 1.64 -->
<!-- 
Written by: Lionel Cons <Lionel.Cons@cern.ch> (original author)
            Karl Berry  <karl@freefriends.org>
            Olaf Bachmann <obachman@mathematik.uni-kl.de>
            and many others.
Maintained by: Olaf Bachmann <obachman@mathematik.uni-kl.de>
Send bugs and suggestions to <texi2html@mathematik.uni-kl.de>
 
-->
<HTML>
<HEAD>
<TITLE>Crystal Space: NeXT GNU make</TITLE>

<META NAME="description" CONTENT="Crystal Space: NeXT GNU make">
<META NAME="keywords" CONTENT="Crystal Space: NeXT GNU make">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<META NAME="Generator" CONTENT="texi2html 1.64">

</HEAD>

<BODY LANG="" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#800080" ALINK="#FF0000">

<A NAME="SEC99"></A>
<TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0>
<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_30.html#SEC98"> &lt; </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_32.html#SEC100"> &gt; </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT"> &nbsp; <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_29.html#SEC91"> &lt;&lt; </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_30.html#SEC98"> Up </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_37.html#SEC105"> &gt;&gt; </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT"> &nbsp; <TD VALIGN="MIDDLE" ALIGN="LEFT"> &nbsp; <TD VALIGN="MIDDLE" ALIGN="LEFT"> &nbsp; <TD VALIGN="MIDDLE" ALIGN="LEFT"> &nbsp; <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="index.html#SEC_Top">Top</A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_toc.html#SEC_Contents">Contents</A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_285.html#SEC711">Index</A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_abt.html#SEC_About"> ? </A>]</TD>
</TR></TABLE>
<HR SIZE=1>
<H4> 2.4.4.1 GNU make </H4>
<!--docid::SEC99::-->
<P>

Building Crystal Space requires GNU's `<SAMP>make</SAMP>' utility.  NextStep does
not ship with GNU `<SAMP>make</SAMP>', so it must be downloaded and installed
before this project can be built.  MacOS/X, MacOS/X Server 1.0 (Rhapsody), and
OpenStep all ship with GNU `<SAMP>make</SAMP>' already installed.  On these
platforms, it is named `<SAMP>gnumake</SAMP>'.  MacOS/X, MacOS/X Server 1.0 (Rhapsody),
and OpenStep users may ignore this section and safely skip to the next one.
</P><P>

NextStep users can find pre-built binaries of GNU `<SAMP>make</SAMP>' at these
locations:
</P><P>

<A HREF="http://www.peak.org/next/apps/devtools/make.3.76.1.NIHS.bs.tar.gz">http://www.peak.org/next/apps/devtools/make.3.76.1.NIHS.bs.tar.gz</A><BR>
<A HREF="http://www.peak.org/next/apps/devtools/gnumake.3.74.b.NIHS.tar.gz">http://www.peak.org/next/apps/devtools/gnumake.3.74.b.NIHS.tar.gz</A>
</P><P>

The source code for the latest version of GNU `<SAMP>make</SAMP>' can be
downloaded from one of the standard GNU mirror sites; a couple of which
are listed here:
</P><P>

<A HREF="http://wuarchive.wustl.edu/systems/gnu/make/make-3.79.1.tar.gz">http://wuarchive.wustl.edu/systems/gnu/make/make-3.79.1.tar.gz</A><BR>
<A HREF="ftp://ftp.uu.net/systems/gnu/make/make-3.79.1.tar.gz">ftp://ftp.uu.net/systems/gnu/make/make-3.79.1.tar.gz</A>
</P><P>

The current version of GNU `<SAMP>make</SAMP>' (3.79.1 at the time of this
writing), does not correctly perform filename wildcard expansion
out-of-the-box when used with NextStep 3.3.  Fortunately, this problem can be
easily corrected.  Build the program by following these instructions:
</P><P>

<OL>
<LI>
Unpack the source:
<P>

<TABLE><tr><td>&nbsp;</td><td class=example><pre>gnutar xfz make-3.79.1.tar.gz
</pre></td></tr></table></P><P>

<LI>
Run the configuration script:
<P>

<TABLE><tr><td>&nbsp;</td><td class=example><pre>cd make-3.79.1
./configure
</pre></td></tr></table></P><P>

<LI>
Edit the files `<TT>dir.c</TT>' and `<TT>glob/glob.c</TT>', and in each file find the
line which reads:
<P>

<TABLE><tr><td>&nbsp;</td><td class=example><pre># define NAMLEN(dirent) (dirent)-&#62;d_namlen
</pre></td></tr></table></P><P>

Replace this line with:
</P><P>

<TABLE><tr><td>&nbsp;</td><td class=example><pre># define NAMLEN(dirent) strlen((dirent)-&#62;d_name)
</pre></td></tr></table></P><P>

<LI>
Build the project:
<P>

<TABLE><tr><td>&nbsp;</td><td class=example><pre>make install
</pre></td></tr></table></OL>
<P>

In order to be consistent with the MacOS/X, MacOS/X Server 1.0 (Rhapsody), and
OpenStep installations, it is probably best to rename the installed executable
to `<SAMP>gnumake</SAMP>' rather than the default name, `<SAMP>make</SAMP>'.  The remaining
instructions in this document assume that the utility is installed under the
name `<SAMP>gnumake</SAMP>'.
</P><P>

<A NAME="NeXT Packages"></A>
<HR SIZE=1>
<BR>  
<FONT SIZE="-1">
This document was generated

using <A HREF="http://www.mathematik.uni-kl.de/~obachman/Texi2html
"><I>texi2html</I></A>

</BODY>
</HTML>