[odb-users] Getting the ODB Compiler to Find the System Headers After macOS Catalina Update

Boris Kolpackov boris at codesynthesis.com
Mon May 17 06:56:01 EDT 2021


Brian Coggins <becoggins at hotmail.com> writes:

> I recently updated a macOS system from Mojave to Catalina (yes, I know
> I'm behind a bit!) and I'm trying to figure out the right/best way to
> help the ODB compiler find the system headers.
> 
> For those who are not familiar, Catalina abandons /usr/include; the
> system headers are now deep inside an XCode directory, which the
> Apple-provided clang knows how to find.  But the odb compiler does
> not know how to find the new include directory.
> 
> (I built odb using build2 and Homebrew gcc-9. odb version is 2.5.0-b.17.
> Homebrew gcc is 9.2.0)

I would expect Homebrew GCC to be patched to deal with this (otherwise
it would be unusable) with ODB piggybacking on it. Have you tried
upgrading to a more recent version of GCC (e.g., 10) and rebuilding
the ODB compiler to match?



More information about the odb-users mailing list