next up previous contents
Next: 13 Tools Up: IMPL_repdoc Previous: 11 Linking C++ and   Contents

12 Using Shared Libraries

By compiling the code and linking it into a shared library, the addition of the library flags mentioned above can be hidden from the user so that they only have to add -lesmf -Lpath_to_esmf to their link line. This is because the shared object is ``prelinked'', whereas an archive library is only a collection of object files. The library users have to point their F90 compiler to the F90 module directory.