I left the last post in this series at the point of running make
for the bitkeeper client. If you have been following the posts
and tried to do that, you will be greeted with the following
errors:
bash-3.00# make
cc -O2 -Wall -Wno-parentheses bkf.c -o bkf
cc: Warning: option -2 passed to ld
cc: illegal option -Wall
make: *** [bkf] Error 1
The first line shows the compiler options being used followed by
a warning and an error. The reason we are getting this error is
because cc options != gcc options. We have two solutions at hand
at this point:
1. Use gcc (we installed it earlier)
2. Change the compiler options to use cc's compiler options
instead of gcc.
Using gcc compiler
To use the gcc compiler instead of cc, do the following:
bash-3.00# CC=`which gcc`
bash-3.00# export CC
bash-3.00# make
…
[Read more]