linking 101

Discussion in 'Mac Programming' started by shooting.breeze, Nov 7, 2009.

  1. macrumors newbie

    Joined:
    Sep 28, 2009
    #1
    Hi All,

    My understaning is that the linking options -L and -l that one would use from the command line, are in XCode
    a) Specifying the linking Search paths in the build settings of the project
    b) Adding the desired library to the project (Project > Add To Project)

    If this is correct, how to add to the project a library that is somewhere on the tree rooted at /usr/local? To my knowledge, and I'd /usr/local is not accessible from Project > Add To Project.

    Thanks.
     

Share This Page