using iargc()/getarg() form C

Satish Balay balay@fastmail.fm
Wed Feb 23 14:36:00 GMT 2005


On Wed, 23 Feb 2005, Satish Balay wrote:

> > This is crucial.  You must link the final program with the
> > gfortran command.
> 
> Is this because of the automatic linking to -lgfortranbegin?  [we try
> to detect all compiler libraries - so that any compiler c/c++/fortran
> will work as the linker. sometimes this is messy and doesn't always
> work]

Ah.. I should have said - we usually try to match the linker to the
language that has the entry point - aka main().

Satish



More information about the Fortran mailing list