cc/gcc programming - where are the includes?

Ruben Di Battista rubendibattista at
Wed Dec 19 10:38:48 UTC 2018

If you are using the compiler by hand in the command line, you can set the
CPATH env variable to point to the include directory...

Even if the system headers should be included by default if I'm not

On Wed, 19 Dec 2018, 09:33 Christoph Kukulies <kuku at 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
>> Christoph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-users mailing list