Crossfire Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CF: Error in imake/configure settings?
>>>>[From Darren Benham]
I have the following error report from someone who's trying to compile
the crossfire client for Linux running on an Alpha. Here's what he has
to say:
...
-----Begin-----
Hi - Client.tmpl sets CC and CFLAGS as appropriate for Digital Unix
when it's compiling on any alpha architecture. Needless to say, this
is unfortunate for linux/alpha. Setting ForceCC to gcc in the
Imakefile was the obvious fix, but it probably isn't the best
one. Perhaps a check for Linux or gcc before the arch-specific checks
in Client.tmpl?
------End------
Looking at the included patch, (not at the original source) I notice that
the Imakefile is doing completely the wrong thing.
You should NEVER EVER OVERRIDE CC in an Imakefile!! CC should be defined
by the SITE, not by an application writer.
If you feel the need to suggest a compiler, then do it as follows:
# For some architectures, you might want to override your normal compiler
# and use gcc, if available
# CC = gcc
-
[you can put yourself on the announcement list only or unsubscribe altogether
by sending an email stating your wishes to crossfire-request@ifi.uio.no]