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:
But that failed withCode:gcc ... -D INC_X="\"./include/\"" ... #include INC_X "x/..."
Anyone have any ideas how to do this cross compiler wise?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