Go to main content

man pages section 1: User Commands

Exit Print View

Updated: July 2017
 
 

guile-config (1)

Name

guile-config - a tool designed to help guile users to get guile configuration information

Synopsis

/usr/bin/guile-config [OPTIONS]

Description

guile-config(1)             General Commands Manual            guile-config(1)



NAME
       guile-config - a tool designed to help guile users to get guile
        configuration information

SYNOPSIS
       /usr/bin/guile-config [OPTIONS]

DESCRIPTION
       On  most  systems,  you should not need to tell the compiler and linker
       explicitly where they can find `libguile.h' and `libguile'.  When Guile
       has  been  installed  in  a peculiar way, or when you are on a peculiar
       system, things might not be so easy and you might need  to  pass  addi-
       tional  `-I' or `-L' options to the compiler.  Guile provides the util-
       ity program `guile-config' to help you find the right values for  these
       options.   You would typically run `guile-config' during the configura-
       tion phase of your program and use  the  obtained  information  in  the
       Makefile.

OPTIONS
       guile-config link

       Print the linker command-line flags necessary to link against libguile,
       and
        any other libraries it requires.

       guile-config compile

       Print C compiler  flags  for  compiling  code  that  uses  Guile.  This
       includes any `-I' flags needed to find Guile's header files.

       guile-config info [VAR]

       Display  the  value  of  the  Makefile variable VAR used when Guile was
       built.  If VAR is omitted, display all  Makefile  variables.  Use  this
       command  to  find out where Guile was installed, where it will look for
       Scheme code at run-time, and so on.


EXAMPLES
       You can use guile-config for a Scheme program:

           (use-modules (scripts guile-config))
           (guile-config . args)       => string
           (guile-config/split . args) => list of strings

       ARGS is one of the "commands" above, such as "info" or "compile",  fol-
       lowed  by an additional optional specifier.  Either element of ARGS can
       be a symbol or a string.  For example, here are two sets of  equivalent
       invocations:

           (guile-config 'info 'pkgdatadir)
           (guile-config 'info "pkgdatadir")
           (guile-config "info" 'pkgdatadir)
           (guile-config "info" "pkgdatadir")

           (guile-config 'compile)
           (guile-config "compile")

       These  procedures  basically capture the output as if guile-config were
       invoked as a command from the shell.  The  former  discards  the  final
       newline.   The  latter  additionally  discards  whitespace,  and always
       returns a list (sometimes of length 1).

       Behavior is undefined for null ARGS or unrecognized commands.



ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:


       +---------------+------------------+
       |ATTRIBUTE TYPE | ATTRIBUTE VALUE  |
       +---------------+------------------+
       |Availability   | library/guile    |
       +---------------+------------------+
       |Stability      | Uncommitted      |
       +---------------+------------------+
NOTES
       This    software    was    built    from    source     available     at
       https://java.net/projects/solaris-userland.    The  original  community
       source                was                downloaded                from
       http://ftp.gnu.org/pub/gnu/guile/guile-1.8.6.tar.gz

       Further information about this software can be found on the open source
       community website at http://www.gnu.org/software/guile/.



                                  26 May 2008                  guile-config(1)