RE: [Cppunit-devel] Building cppunit for Sun 5.0 and 6.0 compilers
Brought to you by:
blep
|
From: Magne B. <bo...@it...> - 2002-05-24 16:08:19
|
Thank you all for the helpful information.
I was able to build cppunit for Sun 6.0 by adding the -pta
and -instances=static 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.
Cppunit will not work with Sun 5.0 because Sun 5.0 doesn't support member
templates.
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=wholeclass ).
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" = CC; then
case "$target_os" in
solaris*)
CXXFLAGS=$CXXFLAGS" -pta"
complex_lib="-lcomplex"
clean_list="-r Templates.DB"
;;
irix*)
CXXFLAGS=$CXXFLAGS" -pta -n32 -64"
complex_lib="-lcomplex"
clean_list="-r Templates.DB ii_files"
;;
esac
The -pta is pretty much required when you generate a library.
Phil
|