
9 Mar
2013
9 Mar
'13
4:07 a.m.
AMDG On 03/08/2013 04:47 PM, Phil Huffman wrote:
Hello,
I just installed Boost and GMP on my Mac, using all defaults. I want to use GMP via Boost, but there is a problem with the linker. I'm sure that clang is getting a bit lost looking for GMP's object modules. Any help will be gratefully accepted. Thanks.
When I compile the below program:
<snip>
using this command:
c++ -I /usr/local/boost_1_53_0 mpz1.cpp -o mpz1 -v
You might try adding -lgmp In Christ, Steven Watanabe