XL Fortran for AIX 8.1

User's Guide


Working with Object-Code Archives (ar)

The ar command performs operations on libraries of object files that are used during linking. You might use this command to create a library of support routines that can be linked into many different programs, as follows:

    ar -q ~/mylibs/graphics.a raytrace.o shade.o illuminate.o
    xlf95 spheres.f -L~/mylibs/ -lgraphics


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]