So now that I’ve been able to get many of my old Linux apps to work again in the brave new 64bit world that is Catalina I wrestle with compiling my own code. I have gcc through homebrew, but so far I haven’t run into anything fatal with clang and what Apple provides through the CommandLineTools via
But when I compile one of my C++ projects that I was able to compile just fine on Mojave I’m now faced with
g++ -DHAVE_CONFIG_H -I. -I… -I/Users/simon/…/tricia/inc -I/Users/simon/…/inc -g -O0 -Wall -Wno-non-template-friend -g -O2 -MT m4.o -MD -MP -MF .deps/m4.Tpo -c -o m4.o m4.cc
In file included from m4.cc:3:0:
/Users/simon/…/tricia/inc/tricia_lib.h:11:10: fatal error: stdio.h: No such file or directory
make: *** [m4.o] Error 1
Sure enough, there’s no /usr/include/ anymore in Catalina. I was able to find all the goodies in
but Catalina won’t even allow sudo ln -s of that onto /usr/include.
Any idea how to get my compiler to pick up all the libraries in this unusual location?