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?

The rest of your e-mail I will answer separately under a different subject
line since it involves different issues from the above problem of getting
the GNU compilers to work properly without interference from the Intel
compilers on Cygwin.

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); PLplot scientific plotting software
package (plplot.org); 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
__________________________

-------------------------------------------------------------------------
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

Reply via email to