[Insight-users] compiling ITK with gcc 3.2 --> OK !
Harri Tapio Jaalinoja
harri.jaalinoja@helsinki.fi
Thu, 17 Oct 2002 18:53:32 +0300 (EET DST)
Thank you!
This was a good double check, I did use the new gcc, but I used
it for both CC and CXX. I guess this is something I must be
embarrassed about, I figured the Gnu Compiler Collection would
find the appropriate tool. Now I don't understand how the
compilation ever got as far as it did. In fact, Mathieu saw this
already yesterday, but I didn't pay attention, because at least
it was starting to compile ok.
Anyway, now I'm all set to start learning the API, I hope to come
up with less elementary problems ;)
Thanks,
Harri
On Thu, 17 Oct 2002, Luis Ibanez wrote:
>
> 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
> >
> >
>
>
>
> _______________________________________________
> Insight-users mailing list
> Insight-users@public.kitware.com
> http://public.kitware.com/mailman/listinfo/insight-users
>