cc/gcc programming - where are the includes?
jonesc at hep.phy.cam.ac.uk
Wed Dec 19 10:48:38 UTC 2018
First things first. Do you really need GCC ? The primary compilers in
macOS are now based on clang, and I recommend you use these instead of
GCC for a number of reasons. To have access to these you need to make
sure you have Xcode etc. installed. see
For details related to using these compilers with MacPorts.
On 19/12/2018 8:32 am, Christoph Kukulies wrote:
> Does it require a special package to be installed when one wants to develop under cc or gcc in macOS?
> I was writing a little C program starting with
> #include <sys/types.h>
> and the compiler doesn’t find anything (what I would be normally under /usr/include
More information about the macports-users