Man pages sections > man1 > dclconfig

dclconfig - Return metainformation about Dennou Common library

DCLCONFIG(1) dclconfig DCLCONFIG(1)

NAME

dclconfig - Return metainformation about Dennou Common library

SYNOPSIS

dclconfig [ --fc ] [ --fflags ] [ --ldflags ] [ --ldlibs ]

DESCRIPTION

The dclconfig program is used to retrieve information about installed Dennou Common library in the system. It is typically used to compile and link against one or more libraries.
Typical usage is here.
    Makefile:
    FC=`dclconfig --fc`
    FFLAGS=`dclconfig --fflags`
    LDFLAGS=`dclconfig --ldflags`
    LDLIBS=`dclconfig --ldlibs`
    foo: foo.c
      $(FC) $(FFLAGS) foo.c $(LDFLAGS) $(LDLIBS)

OPTION

The following options are supported:
--fc
print Fortran Compiler
--fflags
print Fortran compile flags
--ldflags
print LDFLAGS
--ldlibs
print LDLIBS

AUTHOR

N.OTOBE <otobe@gfd-dennou.org>, GFD Dennou Club
February 2016 dclconfig 7.1.2