[Insight-users] compiling ITK with gcc 3.2 --> OK !
Luis Ibanez
luis.ibanez@kitware.com
Thu, 17 Oct 2002 11:03:27 -0400
Hi Harri,
Just to double-check,
Did you make sure that the environment variables
CXX and CC were pointing to the newly built gcc3.2 ?
You have to do something like
export CXX=/usr/local/bin/g++
export CC=/usr/local/bin/gcc
before running CMake on ITK.
You can also verify the compiler used by looking
directly inside the CMakeCache.txt file on the
ITK binary directory.
Please let us know what you find.
Thanks
Luis
==========================================
Harri Tapio Jaalinoja wrote:
> Hi Luis,
> I tried building my own gcc from sources I downloaded from www.gnu.org ftp
> server, with the options you listed, and the thing still gets stuck
> exactly like before.
>
> Earlier today:
> [hajaalin@gene Build]$ /usr/bin/g++ --print-libgcc-file-name
> /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/libgcc.a
>
> Now:
> [root@gene gcc-3.2]# /usr/local/bin/g++ --print-libgcc-file-name
> /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.2/libgcc.a
>
> I have Mandrake Linux, but I think Mathieu mentioned he was using Mandrake
> without problems, so I don't know if that can be blamed.
>
> Any ideas what I should try next?
>
> Thanks,
> Harri
>
>