Re: busting sp datatypes
- From: e p chandler <epc8@xxxxxxxx>
- Date: Thu, 28 Aug 2008 17:22:52 -0700 (PDT)
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
.
- Follow-Ups:
- Re: busting sp datatypes
- From: James Van Buskirk
- Re: busting sp datatypes
- References:
- Re: busting sp datatypes
- From: glen herrmannsfeldt
- Re: busting sp datatypes
- From: wim
- Re: busting sp datatypes
- From: Ron Ford
- Re: busting sp datatypes
- From: Ron Shepard
- Re: busting sp datatypes
- From: Richard Maine
- Re: busting sp datatypes
- From: glen herrmannsfeldt
- Re: busting sp datatypes
- From: LR
- Re: busting sp datatypes
- Prev by Date: Re: FlyAway --Re: Surprise
- Next by Date: Re: busting sp datatypes
- Previous by thread: Re: busting sp datatypes
- Next by thread: Re: busting sp datatypes
- Index(es):
Relevant Pages
|