Re: ITL build on gcc 3.2?
Gunter Winkler <[email protected]>
| Newsgroups | gmane.comp.lib.mtl.devel |
|---|---|
| Message-ID | <[email protected]> |
Bastian Goldluecke wrote: > after I installed SuSE 8.2 on my System (transition gcc 2.95.4 to gcc 3.2), I > could not build the ITL anymore (MTL works). First of all the makefiles seem > to be broken (because they were created with an old version of > aclocal/automake). After I corrected this mistake, I got weird compiler > errors, starting with: [lots of errors deleted] > ... and so on. My experience with templates is limited, and I'm not be able to > fix the errors myself in a reasonable amount of time. Will there be an > official fix for the ITL to compile on gcc 3.2 anytime soon, or do I have to > look for another library? If in the latter case anybody can suggest a good > alternative for solving sparse systems, I would be grateful. This seems to be a compiler-version Problem. You have to check if you really use gcc-3.2 for all compilation. I had such errors when I tried to link object files created by gcc-3.2 with gcc-2.95. So make sure CC _and_ CXX point to the same compiler. (and do a "make clean" and reconfigure MTL and ITL.) I use export CC=gcc-3.2.2 export CXX=g++-3.2.2 in my .bashrc and it works. Gunter _______________________________________________ This list is archived at http://www.osl.iu.edu/MailArchives/mtl-devel/