A few quick questions about gfortran under cygwin



a) What's the latest binary version available? All I found was
GNU F95 version 4.1.0 20050320 -- I thought there should be something later.

b) I've seen mention of compiling it oneself, but no instructions on how
to do it. Are they available anywhere?

c) How do I stop it trying to reference the D: drive? I have a problem
with the DVD+RW on my laptop, in that it takes ages to do any directory
operation (about a 30 second time-out) and my first attempts at compiling
a programme took ages until I thought the problem through and popped open
the DVD drawer. Output of a compile follows, note the --prefix flag.
I tried over-riding that with my own flag, but that did not help.

Ivan@IDRLAP02 ~/fortran
$ /usr/local/gcc4/bin/gfortran.exe -v sudoku3.f
Driving: /usr/local/gcc4/bin/gfortran -v sudoku3.f -lgfortranbegin -lgfortran
Using built-in specs.
Target: i686-pc-cygwin
Configured with: ../gcc-4.1-20050320/configure --prefix=/cygdrive/d/irun41
--with-mpfr=/usr/local/gmp --with-gmp=/usr/local/gmp
--enable-languages=c,c++,f95,java
Thread model: single
gcc version 4.1.0 20050320 (experimental)
/usr/local/gcc4/bin/../libexec/gcc/i686-pc-cygwin/4.1.0/f951.exe sudoku3.f
-ffixed-form -quiet -dumpbase sudoku3.f -mtune=pentiumpro -auxbase sudoku3
-version -o /cygdrive/c/DOCUME~1/Ivan/LOCALS~1/Temp/ccHcLUjO.s
GNU F95 version 4.1.0 20050320 (experimental) (i686-pc-cygwin)
compiled by GNU C version 3.2 20020927 (prerelease).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
as -o /cygdrive/c/DOCUME~1/Ivan/LOCALS~1/Temp/cc9L8ERm.o
/cygdrive/c/DOCUME~1/Ivan/LOCALS~1/Temp/ccHcLUjO.s
/usr/local/gcc4/bin/../libexec/gcc/i686-pc-cygwin/4.1.0/collect2.exe
-Bdynamic --dll-search-prefix=cyg /lib/crt0.o
-L/usr/local/gcc4/bin/../lib/gcc/i686-pc-cygwin/4.1.0
-L/usr/local/gcc4/bin/../lib/gcc
-L/usr/local/gcc4/bin/../lib/gcc/i686-pc-cygwin/4.1.0/../../..
/cygdrive/c/DOCUME~1/Ivan/LOCALS~1/Temp/cc9L8ERm.o -lgfortranbegin -lgfortran
-lgcc -lcygwin -luser32 -lkernel32 -ladvapi32 -lshell32 -lgcc

--
Ivan Reid, Electronic & Computer Engineering, ___ CMS Collaboration,
Brunel University. Ivan.Reid@xxxxxxxxxxxx Room 40-1-B12, CERN
KotPT -- "for stupidity above and beyond the call of duty".
.



Relevant Pages

  • Re: [opensuse] question about compiling an app and installing
    ... for example libpcap-devel or gnome-something-devel. ... compiling to. ... If you know there are particular shared libraries, ... machine rsync (with --delete flag IIRC) ...
    (SuSE)
  • Re: Portability and kind problems
    ... had naively assumed that compiling with e.g. the -r8 flag produced ... double precision, but now have learnt that constants specifed as e.g. ... constants above only have three significant digits in them. ...
    (comp.lang.fortran)
  • Re: ($DEFINE) seems to stay within the one .pas file
    ... compiling in one project and allow it to compile in another. ... > code space saving is not very large. ... > a flag 50 times a second, yet once all the optimisation is done the ... > result is the CPU clocks 3GHz in the idle loop a fraction of a second ...
    (alt.comp.lang.borland-delphi)
  • Re: gcc reports invalid option `t on Solaris 10
    ... >I was compiling a Gnome application built with Glade on Solari 10 ... >The cause turned out to be the `-mt' flag passed to gcc. ... >Glade output, ... to opinions held by my employer, Sun Microsystems. ...
    (comp.unix.solaris)
  • Re: Need GCC & debugger on Tru64 5.1
    ... the library posix4 is present. ... Naturally I am compiling using the -lposix4 flag. ... >> needs an extra license. ...
    (comp.unix.tru64)