From: Alan W. I. <ir...@be...> - 2011-12-07 18:05:11
|
Hi Andrew: Some time ago in connection with the Time Ephmerides project I built the Debian unstable gcc-4.6 packages (version 4.6.1-13) on my Debian stable platform to get access to gfortran quadruple precision. These compilers are not suitable for comprehensive testing of PLplot because they don't include Ada and D so I have not used them before for that purpose, but out of curiosity today I did some limited testing (just the test_noninteractive target in the build tree) for the following environment variables: CC=gcc-4.6 CXX=g++-4.6 FC=gfortran-4.6 CFLAGS=-O3 -fvisibility=hidden CXXFLAGS=-O3 -fvisibility=hidden FFLAGS=-O3 and the following cmake options: -DBUILD_TEST=ON -DDEFAULT_NO_BINDINGS=ON -DENABLE_cxx=ON \ -DENABLE_f95=ON -DENABLE_f77=ON As expected, the result was no compiler warnings and no run-time errors for the test_noninteractive target in the build tree. What do you now recommend for CFLAGS, CXXFLAGS, and FFLAGS for the most rigourous code-quality testing for the above compilers? Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.sf.net); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |