PATCH: Support the FreeBSD 5.0 system thread library model

David O'Brien obrien@FreeBSD.org
Fri May 11 22:31:00 GMT 2001


On Sat, May 12, 2001 at 02:09:19AM -0300, Alexandre Oliva wrote:
> On May 12, 2001, "David O'Brien" <obrien@FreeBSD.org> wrote:
> 
> > I would really like to not proliferate the number of configuration
> > headers.  Isn't there *some* way of having `configure' add
> > -DFBSD=<vers_no> to CFLAGS?
> 
> Setting xm_defines in config.gcc should do it.

Zack also just pointed me at that.
Just curious why isn't there a tm_defines?

Is there anyway to get "#define FBSD_MAJOR 5"?  I'd like to do that since
there are other things that could be tweaked for the various versions of
FreeBSD -- but they are close enough to each other that I think creating
creating separate config/freebsdX.h files would increase the maintenance
effort.

-- 
-- David  (obrien@FreeBSD.org)



More information about the Gcc-patches mailing list