DragonFly BSD
DragonFly kernel List (threaded) for 2004-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Building X with CCVER=gcc3

From: Rahul Siddharthan <rsidd@xxxxxxxxx>
Date: Tue, 16 Mar 2004 12:22:16 -0500

Joerg Sonnenberger said on Mar 16, 2004 at 18:08:07:
> On Tue, Mar 16, 2004 at 11:02:17AM -0500, Rahul Siddharthan wrote:
> > I successfully built and installed world with CCVER=gcc3.  
> > Now how do I do the same with XFree86?  Surely it's possible, but when
> > I tried I ran into a couple of strange compile errors (undefined 
> > SIZE_T_MAX in one file, which I fixed by including machine/limits.h,
> > and undefined XFree86Version in another file, which I inserted
> > manually).  But it didn't build or install any shared libraries, only
> > the .a libraries.
> To extend what Matt said, you have to extend the OS checks in XFree86 to
> detect that we are DragonFly, add a dragonfly.cf for imake and scan the
> whole XFree86 tree for code depending on __FreeBSD__ or __FreeBSD_version.

Hm, I just rebuilt the X libraries by defining __FreeBSD__ again in
gcc3... However, obviously the above solution is better, I'll do it


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]