K, so I tried to make gcc generate absolute paths by defining a variable for where my headers are located and attempted to concatenate it like this:

Code:
gcc ... -D INC_X="\"./include/\"" ...

#include INC_X "x/..."
But that failed with
Code:
include/x/...:L:C: warning: extra tokens at end of #include directive
    C | #include INC_X "x/..."
      |                ^~~~~~~~~~~~~~~~~~~~~
<command-line>: fatal error: ./include/: No such file or directory
Anyone have any ideas how to do this cross compiler wise?