"Alan W. Irwin" <[EMAIL PROTECTED]> writes: > On 2007-10-25 19:53-0400 Jim Dishaw wrote: > >> When I build with svn revision 7974 and have BUILD_SHARED_LIBS=ON and >> ENABLE_DYNDRIVERS=OFF I get the following error during make >> >> [ 0%] Building C object lib/csa/CMakeFiles/csirocsa.dir/csa.o >> /usr/bin/gcc.exe -Dcsirocsa_EXPORTS /Zl -DHAVE_CONFIG_H -DMAKINGCSADLL >> -o lib/csa/CMakeFiles/csirocsa.dir/csa.o -c >> /cygdrive/m/software/source/scientific/plplot-svn/lib/csa/csa.c >> gcc: /Zl: No such file or directory >> make[2]: *** [lib/csa/CMakeFiles/csirocsa.dir/csa.o] Error 1 >> make[2]: Leaving directory `/opt/build/cygwin-no-ivf' >> make[1]: *** [lib/csa/CMakeFiles/csirocsa.dir/all] Error 2 >> make[1]: Leaving directory `/opt/build/cygwin-no-ivf' >> make: *** [all] Error 2 >> >> The "/Zl" option is not appropriate with gcc. > > When multiple compilers are available, the only reliable way I know of to > specify which one you want is with an environment variable. We have just > been through that for the FC environment variable, but there are > corresponding environment variables for the C compiler and C++ compiler you > must set as well (see "set environment variables to specify the > compilers and compiler flags" at http://www.miscdebris.net/plplot_wiki). > > So what happens when you set CC, CXX, and FC appropriately before the > execution of cmake to obtain hopefully pure versions of gcc, g++, and g77 > without interference from the corresponding Intel compilers? >
Actually, I did the above test with only the GNU compilers on the path. I removed the Intel Fortran compiler from the PATH variable. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel