Re: Minimum gcc and clang supported to generate FreeBSD binaries
Date: Thu, 20 Jun 2024 17:43:40 UTC
On Jun 19, 2024, at 11:49 PM, Warner Losh <imp@bsdimp.com> wrote: > > Yea. We shouldn't. But it's kinda necessary to have the compilers tested all the time to spot regressions. This stuff is fiddly enough with 2 main compiles and 2 that kinda emulate these two... comes a point that you need to say enough unless somebody is really, actively using it, our kinda support becomes the worst of both worlds: a random drag on development that isn't actually useful to anybody. You should'n't have to test with every compiler if the libraries and headers are standard compliant (by default). Is there no way of avoiding putting ELF specific bits in such a commonly used header file if it is only used for qsort (or a handful of such version specific functions)? Also note that somehow linux avoids this (not that FreeBSD should do what Linux does but just as a data point). Any way, one suggestion is to not use #Ifdef TCC but to use some generic name. Alternately, if tcc is the only outlier,