This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gfortran on win98


Theo McCloskey wrote:
Francois - after some investigation, I've finally come to a solution that
seems to work for me (using gfortran on Win98).

I do believe it is an installation problem.

I've installed gfortran under the root drive (c:\gfortran)

The installation package produces the following directory structure:
c:\gfortran
c:\gfortran\bin
c:\gfortran\include
c:\gfortran\include\ssp
c:\gfortran\include\sys
c:\gfortran\lib
c:\gfortran\lib\gcc
c:\gfortran\lib\gcc\i686-pc-mingw32
c:\gfortran\lib\gcc\i686-pc-mingw32\4.1.0
c:\gfortran\lib\gcc\i686-pc-mingw32\4.1.0\include
c:\gfortran\lib\gcc\i686-pc-mingw32\4.1.0\install-tools
c:\gfortran\lib\gcc\i686-pc-mingw32\4.1.0\install-tools\include
c:\gfortran\libexec
c:\gfortran\libexec\gcc
c:\gfortran\libexec\gcc\i686-pc-mingw32
c:\gfortran\libexec\gcc\i686-pc-mingw32\4.1.0
c:\gfortran\libexec\gcc\i686-pc-mingw32\4.1.0\include
c:\gfortran\libexec\gcc\i686-pc-mingw32\4.1.0\install-tools

The following components are stored in the
"c:\gfortran\libexec\gcc\i686-pc-mingw32\4.1.0" directory:
  f951.exe
  cc1.exe
  collect2.exe

**** The Fix ****
I recommend you move these components to the "gfortran\bin" directory. Make
sure you have specified an appropriate PATH environment variable (SET
PATH=%PATH%;c:\gfortran\bin).
***************

Once I did this, it seems that I am now truely able to compile and link from
any location (via DOS box, bat files, make, editors, etc).
Hay Theo,

Thanks for this info. There was another user I was working with that ran into this and I don't have a win98 box so I could not help. This is great!

THanks again,

Jerry


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]