On 2001.12.10 23:17 Sergey V. Udaltsov wrote:
> > Try the tunnel demo.  For me it went from 0.7fps to 25fps.
> For me, numbers are similar. Though, there are problems with fog: tunnel
> cannot turn it on (in fact, nothing happens on "f" - the fog is always
> off). For pre-pre-pre-alpha, this is not crucual though...
> 
> Just one question to gurus:
> 

I'm no guru, but this is what I've know from a thread in this list at the
time I was also trying to build the mach64 branch myself, about a month
ago.

> Suppose, I took mach64-0-0-2-bramch tag. Are these actions correct:
> 1. Set in config/cf/site.def
> #define ProjectRoot /usr/X11R6-DRI
> 2. Do make World
> 3. Do make install
> 
> Is it everything I need? How I can ask compiler use existing XFree
> headers and libraries? How I can build the kernel modules?
> 

Not really. Before you 'make install' you must make a "mirror" with
symbolic link of your existing /usr/X11R6 to /usr/X11R6-DRI using the
'lndir' command for that:

mkdir /usr/X11R6-DRI
lndir /usr/X11R6 /usr/X11R6-DRI

Setting the ProjectRoot in /usr/X11R6-DRI isn't even necessary since is
the default already.

If you have RedHat 7.x you also have to add the patch that is attached
because of a problem in the gcc-2.96 code optimization leading to modules
that can't be loaded by the X server.

The kernel modules are built and installed at the same time.

> Any info (or references to documents in XFree tree) would be highly
> appreciated...
> 
> Sorry, I was so dumb I could not find the answers at
> dri.sourceforge.net.

Unfortunatly the only reference is the DRI Compilation Guide which has not
been updated recently to include this. Someone really should do that
because there has been a lot of people trying to test the cvs tree
(especially the mach64 branch).

> Cheers,
> 
> Sergey
> 

Regards,

Jose Fonseca


*** xc.old/xc/config/cf/host.def	Tue Dec  4 17:14:35 2001
--- xc/xc/config/cf/host.def	Tue Dec  4 17:15:45 2001
***************
*** 16,19 ****
--- 16,24 ----
  #endif
  
+ #define NeedModuleRanlib	YES
+ #define ModuleCFlags $(CDEBUGFLAGS) $(CCOPTIONS) -fno-merge-constants \
+                      $(THREAD_CFLAGS) $(ALLDEFINES)
+ #define ModuleRanlibCmd		RanlibCmd
+ 
  #define BuildXFree86ConfigTools NO
  

Reply via email to