On 09 Jan 2023 11:29, Corinna Vinschen wrote: > On Jan 3 22:06, Mike Frysinger wrote: > > On 04 Jan 2023 03:17, Stefan Tauner wrote: > > > wouldn't it make sense to add the "include" directory itself to the > > > build process(es) as include directory instead of prepending it to all > > > #include statements? > > > > the include/ dir has headers that conflict with standard headers like > > getopt.h. this causes build failures. > > What about using -idirafter instead? that should work. newlib isn't using it today, so i didn't think we wanted to start. if you're fine with it, i can try it. -mike