RE: [Cppunit-devel] Building cppunit for Sun 5.0 and 6.0 compilers
Brought to you by:
blep
From: Stanley S. <su...@t-...> - 2002-06-03 13:13:08
|
For clean_list on Solaris, Forte6, all template instantiations are in a = subdirectory SunWS_cache, in subdirectories based on the first letter of = the mangled template name. I think Template.DB worked for 4.2, but it = won't for 5.1 and higher. I'm not sure about 5, since I don't have a = 5.0 available. I think we'll be evaluating Forte 7 in July, I'll let = you know if there are major chainges. -----Original Message----- From: Baptiste Lepilleur [mailto:gai...@fr...] Sent: Sat 01-Jun-02 06:28 To: bo...@it... Cc: cpp...@li... Subject: Re: [Cppunit-devel] Building cppunit for Sun 5.0 and 6.0 = compilers I've added the following to install-unix. Let me know if it is enough: Solaris/Sun 6.0 compiler ------------------------ Sun 6.0 compiler requires the "-pta -instances=3Dstatic" options. 'make check' has been reported to fail to build, but 'make install' = works. ----- Original Message -----=20 From: Magne Borg=20 To: 'Lavoie Philippe' ; 'David Marcombes'=20 Cc: cpp...@li...=20 Sent: Friday, May 24, 2002 6:06 PM Subject: RE: [Cppunit-devel] Building cppunit for Sun 5.0 and 6.0 = compilers Thank you all for the helpful information. =20 I was able to build cppunit for Sun 6.0 by adding the -pta and = -instances=3Dstatic options. However, when I do a "make check" it starts printing "Output line too = long." and I have to kill it after a while. But after doing a "make install" I am able to use the cppunit library, = so it seems like it was able to build fine. =20 Cppunit will not work with Sun 5.0 because Sun 5.0 doesn't support = member templates. =20 Thanks, Magne -----Original Message----- From: Lavoie Philippe [mailto:la...@yu...] Sent: Friday, May 24, 2002 7:54 AM To: David Marcombes Cc: bo...@it...; cpp...@li... Subject: Re: [Cppunit-devel] Building cppunit for Sun 5.0 and 6.0 = compilers David Marcombes wrote: Magne, I do think 6.0 supports templates You might want to try use different options for CC, I've seen this = kind of problem before. There is on option -instances ( extern static = global ) Give it a try it might help. In a project I also had to use = -pta ( equivalent to -template=3Dwholeclass ). I do remember what was the exact combination, hopefully it will = trigger some memories here. Hope it Helps David M. I concur with David, I checked my old configuration files and I have = something like the following inside the configure.in if test "$CXX" =3D CC; then case "$target_os" in solaris*) CXXFLAGS=3D$CXXFLAGS" -pta" complex_lib=3D"-lcomplex" clean_list=3D"-r Templates.DB" ;; irix*) CXXFLAGS=3D$CXXFLAGS" -pta -n32 -64" complex_lib=3D"-lcomplex" clean_list=3D"-r Templates.DB ii_files" ;; esac The -pta is pretty much required when you generate a library.=20 Phil |