(I'm not sure if "flag" is the word I'm looking for, but I'll explain it.)
I am trying to compile a program that uses the GMP big number library. But to be able to compile with GMP, I have to add -lgmp
to the end of the command. For example, if I want to compile "program.c", I have to type gcc program.c -lgmp
. This is easy from the command line, but I don't see how to do it in Xcode. How can I add the lgmp
flag while using Xcode?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…