Re: busting sp datatypes




Ron Ford wrote:
On Wed, 27 Aug 2008 22:32:26 -0800, glen herrmannsfeldt posted:

Here is a version that actually works with g95 0.91,
unlike the one I posted earlier.

Shoot, Glen, I was trying to follow this and downloaded and installed g95.
I think it has a compatiblity problem with the rest of my mingw stuff, that
I had for gcc.


C:\g95\source>g95 -o sort sort1.g95
g95: installation problem, cannot exec `ld': Invalid argument

C:\g95\source>g95 sort1.g95
g95: installation problem, cannot exec `ld': Invalid argument

C:\g95\source>g95 -o sort sort1.f95
g95: installation problem, cannot exec `as': Invalid argument

C:\g95\source>

Does someone have a better idea than ripping the whole thing out and
starting over?

I'm running Vista now, but my setup did also work on XP. [both 32
bits] I create a directory c:\g95 and install g95 there. I create a
directory c:\gfortran and install gfortran (gcc) there. Both of these
are the MinGW distributions supplied as self-installing .exe files.

I have had only rare and occasional problems with both g95 and
gfortran/gcc co-existing on my system at the same time when installed
this way. The one thing I have not done for some time is to obtain a
MinGW base distribution and then add g95 or gfortran to that.
Every once in a while I have had to change the order of installation
or clean out the environment variables that have been set by g95 or
gfortran. This is more a feature of using different versions of g95
(from www.g95.org) and gfortran (FX Coudert's) from time to time.

The only problem I have with both compilers installed as described is
that gcc, which is supplied with gfortran, can not find its include
files unless I set the CPATH environment variable. IIRC to c:\gfortran
\include.

If you are using the gfortran/gcc from equation.com, that's a
different story. It installs in \gfortran w/o requiring CPATH to be
set to compile C programs, etc. It also creates "stripped" .exe files
(w/o debug symbols) unless some key files are replaced.

- e



.



Relevant Pages

  • Re: Fortran novice
    ... gfortran: CreateProcess: No such file or directory ... This looks like an installation problem of some sort. ... program calls a number of other programs to do the actual compilation, ...
    (comp.lang.fortran)
  • Re: g95 problems on windows
    ... >g95 for Windows on two different machines, ... >installation problem, cannot exec 'f951': ... Did you download g95 binaries from the web site? ... May be you could try the same if you have cygwin installed on your Windows? ...
    (comp.lang.fortran)
  • Re: Installing g95
    ... I tried installing cygwin and g95 for cygwin. ... both on the bash shell and the Windows shell. ... the freestanding mingw installer. ... Therfore i take the alone standing g95-mingw.exe package without any installation of mingw together with g95. ...
    (comp.lang.fortran)
  • Getting g95 to work
    ... I just installed the new G95 compiler on a Win98 system. ... can G95 be used with MinGW/MSYS, ... used with the cygwin components that are supplied in the installation? ...
    (comp.lang.fortran)
  • Re: g95 problems on windows
    ... g95 for Windows on two different machines, both running WinXP SP2. ... installation problem, cannot exec 'f951': ...
    (comp.lang.fortran)