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

> On 2007-10-21 21:49-0400 Jim Dishaw wrote:
>>
>> The problem is that CMake sees the Intel Visual Fortran installation and
>> sets the compiler flag "/DIVF" and that causes the GNU compiler to
>> fail.
>
> Jim, please correct me if you have a different experience, but my belief is
> the environment variable approach is going to set the fortran compiler and
> its options completely consistently so there should be no inconsistent extra
> options like "/DIVF" unless the build was done starting from a dirty build
> tree.
>

The only way that /DIVF gets set is if the TARGET_FORTRAN variable is
set to IVF.  The TARGET_FORTRAN variable is set in
cmake/modules/fortran.cmake, where CMAKE_Fortran_COMPILER is checked
against the substring ".*/ifort.*"

If the environment variable FC is set, does that override the normal
compiler check and cause CMAKE_Fortran_COMPILER to be set to whichever
compiler FC is set to?  Perhaps there was a dirty build directory?  I
can try to run a test and see how the variables are set (I have a
machine with Intel Fortran and cygwin+gnu compiler).  I'll report back
with the results.

> Also, dealing with the possible fortran compiler issue does not solve the
> fundamental problem which showed up for the simple case with no bindings and
> just the ps device.  (The ps device could not be dynamically loaded.)
> Personally, I think it is better to work on that fundamental problem first.
>

I think the lack of bindings was caused by the failure in building the
Fortran 77 and/or 95 bindings.  

> Jim, what happens if you try that simple case on Cygwin for 5.8.0-RC1?

I'll report back later with the results.

> Note, by default Plplot assumes dynamic devices so that simple case is
> actually a test of that. Also note,
> http://www.miscdebris.net/plplot_wiki/index.php?title=Overview_of_the_status_on_Windows
> says that dynamic devices have not yet been tested for Cygwin.  So not
> being able to dynamically load PLplot devices on Cygwin might be the
> cause of Hiroyasu's fundamental problem, but let's find out before we
> release 5.8.0.
>

I think dynamic devices still do not work in cygwin.

-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