Building X with CCVER=gcc3
Joerg Sonnenberger
joerg at britannica.bec.de
Tue Mar 16 09:12:12 PST 2004
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
>
More information about the Kernel
mailing list