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: Option -L


On Fri, Jun 08, 2012 at 07:40:27PM +0200, Francisco Pena wrote:
> Hi all,
> 
> I would ask a simple question: Why compiler option -L appears in the
> head of "man gfortran" but it is not explained neither in man nor in
> the gcc web page?
> 

>From gcc.info:

_Directory Options_
     *Note Options for Directory Search: Directory Options.
          -BPREFIX -IDIR -iplugindir=DIR
          -iquoteDIR -LDIR -specs=FILE -I-
          --sysroot=DIR

(following the '*Note Options...' hyperlink)

`-LDIR'
     Add directory DIR to the list of directories to be searched for
     `-l'.

>From gfortran.info:

The `gfortran' command supports all the options supported by the `gcc'
command.  Only options specific to GNU Fortran are documented here.

Does this answer your question?

-- 
Steve


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