Skip to content

Commit 87e91b4

Browse files
author
dtrg
committed
Added comment about the use of 'cc' rather than 'gcc'.
1 parent d722986 commit 87e91b4

File tree

1 file changed

+21
-5
lines changed

1 file changed

+21
-5
lines changed

README

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,21 @@ I'm assuming you're using Linux here, because that's what I use. If you
2727
don't use Linux, please let me know if you have any trouble and I'll update
2828
the instructions.
2929

30-
1. Configure the build.
30+
1. Prerequisites
31+
32+
The ACK wants to be built with a C compiler called cc. From what I've seen
33+
so far of the build system, this can be changed, but not easily.
34+
35+
Most platforms have their compiler set up so that 'cc' invokes it, whatever
36+
it is; however, some don't. So far the only one I've met that doesn't do
37+
this is Solaris with gcc installed, but without the Sun native compiler.
38+
39+
If this is the case, the simplest thing to do is to place a symlink to gcc
40+
(or your favourite C compiler) in your path somewhere. For example:
41+
42+
ln -s /usr/bin/gcc ~/bin/cc
43+
44+
2. Configure the build.
3145

3246
To do this, run the first/first script. You will be asked several
3347
questions.
@@ -90,7 +104,7 @@ the instructions.
90104
If the configuration script is happy, it will generate a script called
91105
INSTALL.
92106

93-
2. Do the compilation.
107+
3. Do the compilation.
94108

95109
The configuration script will recommend a command line. Execute this. On
96110
modern systems, the compilation doesn't take long.
@@ -104,7 +118,7 @@ the instructions.
104118

105119
You can ignore these. They aren't important.
106120

107-
3. Use the ACK.
121+
4. Use the ACK.
108122

109123
Ensure that the ACK's binary directory is on your path; this is /bin in
110124
the directory you specified during the configuration process. In my
@@ -169,6 +183,8 @@ [email protected]
169183

170184
# Revision history
171185
# $Log$
172-
# Revision 2.2 2005-06-24 23:20:41 dtrg
173-
# Added some new readmes at the top level.
186+
# Revision 2.3 2006-07-18 17:21:34 dtrg
187+
# Added comment about the use of 'cc' rather than 'gcc'.
174188
#
189+
# Revision 2.2 2005/06/24 23:20:41 dtrg
190+
# Added some new readmes at the top level.

0 commit comments

Comments
 (0)