gfortran

Paul, Brent S bpaul@alionscience.com
Mon Jun 9 19:53:00 GMT 2008


Daniel,

	I only installed gfortran so I would imagine that I would have
to go get the c version as well.  I don't understand a lick of C, so I
would have to find some C code on the web to see.  If someone thinks
it's worthwhile then I'll try that, but I'm guessing C and Fortran
should be mutually exclusive?  Or at least fail for the exact same
reason...

Brent


------------------------------------------------------------------------
----
Brent S. Paul                                   bpaul@alionscience.com
Hydrodynamics and Hydroacoustic Signatures      Alion Science and
Technology
Office:  (860) 462-1038                         fax:  (860) 415-2190
------------------------------------------------------------------------
----


-----Original Message-----
From: Daniel Franke [mailto:franke.daniel@gmail.com] 
Sent: Monday, June 09, 2008 3:51 PM
To: Paul, Brent S 
Cc: fortran@gcc.gnu.org
Subject: Re: gfortran

2008/6/9 Paul, Brent S <bpaul@alionscience.com>:
> Daniel,
>
> $ gfortran -v
> Using built-in specs.
> Target: i686-pc-cygwin
> Configured with: ../gcc44/configure --prefix=/usr/local/gfortran
> --enable-languages=c,fortran --disable-bootstrap
--enable-threads=posix
> --enable-sjlj-exceptions --enable-version-specific-runtime-libs
> --enable-nls --disable-libmudflap --disable-shared
> --disable-win32-registry --with-system-zlib --enable-checking=release
> --enable-werror --without-included-gettext --without-x
--enable-libgomp
> Thread model: posix
> gcc version 4.4.0 20080517 (experimental) [trunk revision 135459]
(GCC)
>
> I've also tried it without the "./" and there wasn't an executable
> created.  I added the "./" because I was worried it was defaulting to
> some other directory.

Hm. Here I run FX' built as available from the wiki (20080514, Target:
i586-pc-mingw32) from cygwin. If this is supposed to work I can't
tell, however, it works for me. Or better, it works mostly, there are
some issues with absolute and relative paths names. That's why I
suggested to try without the './'.

Does gcc work with a simple .c file?



More information about the Fortran mailing list