alanc @ sun.com

Alan Coopersmith’s blog

Random thoughts of a disorganized mind...
(and though it should be obvious, while Sun pays me to think about things, they disclaim any responsibility for these thoughts, nor do I claim what I say matches in any way what Sun thinks)

Loading...
http://blogs.sun.com/alanc/date/20051114 Monday November 14, 2005

Xorg 6.9 & 7.0 Release Candidates 2

The second release candidates of the Xorg 6.9 (monolith) and 7.0 (modular) releases have been announced and you can download the sources to build and try it out yourself.

Of course, I've been doing that multiple times a day for months, on our Solaris x86 & SPARC systems, and since I've integrated RC2 into our Xorg builds for Solaris Nevada (the next release of Solaris, currently under development), will continue to do so for a while.

Some tips if you want to do the same on Solaris with the 6.9 source tree:

  • If you want to use the VUID mouse protocol (USB mice or mice using the virtual mouse device in recent Solaris kernels), be sure to apply this patch (or just pull the latest CVS source which has this patch integrated already). [This actually applies to both 6.9 & 7.0 releases.]
  • The Solaris builds default to assuming you have the Sun Studio compilers installed and included in your $PATH environment variable. If you'd rather use gcc, you can create a xc/config/cf/host.def file with this line in:
    #define HasSunC NO
    
    If you're using the gcc 2.95 from the Sun Companion CD in /opt/sfw/ you may need to additionally add:
    #define HasGcc2 YES
    #define CplusplusLibCDir /opt/sfw/lib
    
  • The Solaris builds also default to building everything in 32-bit - if you want to build it all in 64-bit, add this to your host.def for x86/x64/AMD64:
    #define AMD64Architecture
    
    or for SPARC:
    #define Sparc64Architecture
    

And just as for any other platform, check out the xc/BUILD file in the source tree for more information about the build, other options you can set in host.def, and some important changes since 6.8.2 in how dependencies like FreeType, expat, and zlib are handled.

The 7.0 modular tree is a whole different ball of wax of course, and I'll write about that in a bit.

[Technorati Tags: , , , ]