I am a new user to both Unix and Xcode, so I apologize if this question is already discussed elsewhere. I am trying to use a third party algorithm database (NAG C Library) on my macbook, and in their user's manual I saw the following lines:
gcc driver.c -I[INSTALL_DIR]/include [INSTALL_DIR]/lib/libnagc_vl.dylib -framework vecLib -lpthread -lm
I understand that -I[INSTALL_DIR]/include
is adding the directory into my header search path, but I have no idea what [INSTALL_DIR]/lib/libnagc_vl.dylib
is doing since it doesn't seem to be an option. Also, what does -framework
mean here?
Perhaps the most important question is how I can implement these options when I am trying to build the program in Xcode IDE? Sorry if this seems a lot of questions to answer... Thank you!