How do I link with Aquaterm library for an external build?

Ryan Schmidt ryandesign at macports.org
Thu Jan 31 12:27:16 PST 2013


On Jan 31, 2013, at 11:32, Brandon Allbery wrote:

> On Thu, Jan 31, 2013 at 6:57 AM, Mojca Miklavec <mojca at macports.org> wrote:
> Actually, you usually need both -framework AquaTerm and
> -F/opt/local/Library/Frameworks when compiling, as in:
>     gcc hello.c -framework AquaTerm -F/opt/local/Library/Frameworks
> 
> -F is to -I as -framework is to -l.  That is, -F gets you the framework's include files, -framework gets you its libraries.

Doesn't -F do for frameworks not only what -I does for includes but also what -L does for libraries?



More information about the macports-users mailing list