Xcode 3.0 - Fortran - Lapack
By Alef at Sun, Jan 6 2008 2:59am |
Hello,
I would like to use Xcode 3.0 for a fortran code. This code makes use of Lapack. Usually, in a Makefile I use:
-Wl,-framework -Wl,vecLib
In the case of Xcode, I do not know where to put such information. I guess it is somewhere in the rules for the target but I do not how to tell Xcode which libraby he should try to link to build the executable.
In the same way, if one whish to use another library, where such information should be given ?
Best regards
Alef



Re: Xcode 3.0 - Fortran - Lapack
Hi Alef,
In Xcode adding in system frameworks is easy.
Right click in the groups pane (the window on the left that has the listings of source files, targets, executables etc...
Choose Add -> Existing Frameworks...
Navigate to: /System/Library/Frameworks
Select Accelerate.framework
Then in the next window check the boxes to assign the framework to the appropriate target.
Hope that helps,
Dave