"Alan W. Irwin" <[EMAIL PROTECTED]> writes:

> Hi Jim,
>
> This post covers one final topic generated by your e-mail.
>
> On 2007-10-25 19:53-0400 Jim Dishaw wrote:
>
>> $ cmake -DBUILD_SHARED_LIBS=ON -DENABLE_DYNDRIVERS=OFF
>> -DCMAKE_VERBOSE_MAKEFILE=ON -DDEFAULT_NO_DEVICES=ON -DPLD_ps=ON
>> -DDEFAULT_NO_BINDINGS=ON
>> /cygdrive/m/software/source/scientific/plplot-svn
>>
>> The output files are attached.  I didn't bother to do the second test
>> because the first one failed.
>
> So what happens with this simple test if you properly select your compiler
> using CC=gcc (or should that be CC=/usr/bin/gcc.exe ?)

I did the test without Intel's or Microsoft's compilers in the path.
The /Zl still remains.  I did find the cause of it--it is my fault.  I
modified the UserOverride.cmake to add the /Zl in order to get the
libraries to work correctly with the Microsoft compilers.  My bad.

The issue with Intel Fortran and Cygwin:

- The Unix style path is being interpreted by the compiler as compiler
  switches, which causes the compiler to fail.

The above issue reveals the following problem with cmake

- When the Fortran compiler test fails when running cmake, the Fortran
  bindings should not be enabled.  Currently, running cmake a second
  time will leave the Fortran bindings on.

In the documentation we should state:

If the build system has multiple compilers installed and visible in the
executable search path, you must specify the compilers with the
appropriate environment variables, e.g. FC and CC.

When building with different compilers, always start with a clean build
directory.

-jd

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