[Insight-users] Debian/Linux linking

Neil Killeen Neil.Killeen@atnf.csiro.au
Tue, 11 Feb 2003 16:58:08 +1100 (EST)


>
> Hi Neil,
>
> My apologies about the missunderstanding.
> (please extend them to your system
> administrator).
>

no problem, i will protect you from our dangerous administrators !

> I'm glad to know that your compiler is now
> correctly installed.
>
> BTW, the easy way to indicate the location
> of your compiler to CMake, is to set the
> environment variables:
>
>      CXX   and   CC
>
> before running CMake.
>
> If the variables are defined, CMake will
> use them to initialize
>
>      CMAKE_CXX_COMPILER
>

i was not sure whether I could build the full path
into these or not, so in the end I did it through
ccmake

> Note that CC must point to the C compiler
> while CXX must point to the C++ compiler
> (in the case of gcc, CC=gcc, CXX=g++)
>

yup.  i think that was my first great mistake
that you helped me with last year !

cheera
Neil