Hmm, that suggests to me that your environment isn't set up such that clang
checks the MacPorts-specific include paths... But that's just a guess as I
don't have MacPorts installed myself (I'm in the homebrew camp).
Are you able to compile a simple C file with clang that #includes gmp.h, such
as:
-----
#include <stdio.h>
#include <gmp.h>
int main() {
printf("Made it!\n");
return 0;
}
-----
Thanks,
-Brad
________________________________
From: Russel Winder <[email protected]>
Sent: Saturday, June 17, 2017 10:20:07 AM
To: Brad Chamberlain; Chapel_Developers
Subject: Re: [Chapel-developers] Building on MBP with El Capitan
On Sat, 2017-06-17 at 16:37 +0000, Brad Chamberlain wrote:
> Hi Russel --
>
>
> What is the output of '$CHPL_HOME/util/printchplenv --anonymize' on
> your system?
>
>
|> $CHPL_HOME/util/printchplenv --anonymize
CHPL_TARGET_PLATFORM: darwin
CHPL_TARGET_COMPILER: clang
CHPL_TARGET_ARCH: native *
CHPL_LOCALE_MODEL: flat
CHPL_COMM: none *
CHPL_TASKS: fifo *
CHPL_LAUNCHER: none
CHPL_TIMERS: generic
CHPL_UNWIND: none
CHPL_MEM: cstdlib *
CHPL_MAKE: make
CHPL_ATOMICS: intrinsics
CHPL_GMP: system *
CHPL_HWLOC: none
CHPL_REGEXP: none *
CHPL_WIDE_POINTERS: struct
CHPL_AUX_FILESYS: none
--
Russel.
=============================================================================
Dr Russel Winder t: +44 20 7585 2200 voip: sip:[email protected]
41 Buckmaster Road m: +44 7770 465 077 xmpp: [email protected]
London SW11 1EN, UK w: www.russel.org.uk<http://www.russel.org.uk> skype:
russel_winder
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Chapel-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/chapel-developers