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: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Tue, 16 Mar 2004 18:08:07 +0100

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.

If you have done all that and its working, send me a diff and it will be
part of the override port :)

Joerg

> 
> Rahul
> 



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