IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 4978


Ignore:
Timestamp:
Sep 8, 2005, 11:20:52 AM (21 years ago)
Author:
desonia
Message:

updated linking subsection.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/mainpage.dox

    r4975 r4978  
    44 *  @author Robert Daniel DeSonia, MHPCC
    55 *
    6  *  @version $Revision: 1.15 $ $Name: not supported by cvs2svn $
    7  *  @date $Date: 2005-09-08 02:06:02 $
     6 *  @version $Revision: 1.16 $ $Name: not supported by cvs2svn $
     7 *  @date $Date: 2005-09-08 21:20:52 $
    88 *
    99 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    111111
    112112
    113 @section build How to Build, Test, and Link the psLib library
     113@section build How to Build and Test
    114114
    115115The source uses autoconf/automake to build control the build process.  If, and
     
    131131</pre>
    132132<i>This builds, tests, and installs the library.</i>
    133 
    134 For linking to psLib:
    135 <pre>
    136 $ cd psLib/bin
    137 $ ./pslib-config --libs
    138 $ ./pslib-config --cflags
    139 </pre>
    140 <i>This outputs the libaries to link in configuration and the cflags to include
    141  in compiling.</i>
    142133
    143134The configure step allows users to specify specific locations for the third
     
    162153</pre>
    163154
     155@section usage Building and Linking your code to the psLib library
     156
     157To assist the use of the library with your own code, a configuration tool is part
     158of the psLib library package.  This tool, pslib-config, is installed in the BIN
     159directory, according to the options given to the configure script.
     160
     161The required CFLAG options for the compiler stage of code that uses psLib can be
     162obtained via 'pslib-config --cflags'.  This outputs the cc options that supplies
     163include path(s) required to find the psLib headers.
     164
     165The required linking options, can be obtained via 'pslib-config --libs'.  This
     166outputs the ld options that supplies the library paths and files required to
     167link to the pslib library.
    164168
    165169@section doc How to Create Code Documentation
Note: See TracChangeset for help on using the changeset viewer.