On 2010-04-03 23:41+0200 Werner Smekal wrote:



The SourceForge download area for MinGW/MSYS
(http://sourceforge.net/projects/mingw/files/) gives you only two choices
for gfortran.  This recent 4.5 version
(libgfortran-4.5.0_20100311-2-mingw32-dll-3.tar.lzma) from the MinGW
Proposed 20100311 snapshot and an ancient experimental version which
I presume is no longer relevant.

It's actually really a PIA to download MinGW, because this download area
is a mess.
Go to

GCC Version 4 -> Current Release_ gcc-4.4.0

and there you'll find gfortran 4.4 (as well as all other packages).

gcc/g++ 4.4.0 is also the recommended version to use.

I missed that gfortran version because it was labelled fortran, but I should
have realized it meant gfortran because of the version number.  Anyhow, I
definitely agree with your "download area is a real mess" comment!

Anyhow, I downloaded gcc-full-4.4.0-mingw32-bin-2.tar.lzma (which also
includes gfortran and which is a huge convenience), unpacked, and set up my
Wine environment PATH to use that.  The resulting version information is

bash.exe-3.1$ gfortran -v
Using built-in specs.
Target: mingw32
Configured with: ../gcc-4.4.0/configure
--enable-languages=c,ada,c++,fortran,jav
a,objc,obj-c++ --disable-sjlj-exceptions --enable-shared --enable-libgcj
--enabl
e-libgomp --with-dwarf2 --disable-win32-registry --enable-libstdcxx-debug
--enab
le-version-specific-runtime-libs --prefix=/mingw
--with-gmp=/mingw/src/gmp/root
--with-mpfr=/mingw/src/mpfr/root --build=mingw32
Thread model: win32
gcc version 4.4.0 (GCC)

I then tried compiling the simple test project (which I attach), and I get the
same error message!

bash.exe-3.1$ gfortran -o test.obj  -c sfstubsf95.f90
Fatal Error: Reading module plplotp at line 121 column 50: Expected left
parenth
esis
gfortran.exe: Internal error: Aborted (program f951)
Please submit a full bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

Could you try the same with this version of gfortran to help figure out
whether this is a wine issue or not?

Thanks in advance.

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
__________________________

Attachment: test_gfortran-4.5.tar.gz
Description: simple project demonstrating gfortran bug for MinGW

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to