On Wed, 26 Mar 2003, Kendall Bennett wrote:

> Hi Guys,
> 
> One area that appears to be severely lacking for the 'new' developer is 
> guidance on how to set up the host.def file properly so that you can 
> build XFree86 successfully on your system. The default xf86site.def is a 
> good start, but it doesn't really explain things since everything is 
> essentially commented out. You don't really know what stuff you *should* 
> define to get a standard build on different systems.
> 
> Perhaps a good start would be to have a directory with sample host.def 
> files in it, especially a good 'default' file that can be used to build a 
> complete XFree86 system on Linux and FreeBSD for instance. That is where 
> a lot of developers could really use a default they can just copy to 
> host.def and then do a 'make World'.

  The xf86site.def IS the sample host.def.   You don't need the
host.def.  It merely overrides the xf86site.def and provides
a way to edit a file that doesn't get clobbered by CVS.  If 'make World'
doesn't just build without any editing at all, that is a bug.


> 
> Which brings me to my question. Do I need to uncomment the 
> XF86CardDrivers section in the host.def file in order to build the driver 
> modules? The comments would seem to indicate you need to do this, but 
> IMHO that would be kind of silly (too error prone). I *think* in reality 
> if you do not define this that the default set of all drivers will be 
> built, and you can use this define to change which drivers actually get 
> built. Is that correct?

   All drivers get built unless you uncomment and edit the XF86CardDrivers.
The point of doing that in a separate file (the host.def) is so you
don't prevent the sample (the xf86site.def) from patching properly.


                        Mark.

_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to