XFree86 host.def

Bruce Dubbs bdubbs at swbell.net
Thu Apr 25 08:34:51 PDT 2002

Jesse Tie-Ten-Quee wrote:
> Yo,
> On Thu, Apr 25, 2002 at 12:38:30AM -0500, Bruce Dubbs wrote:
>>I've been looking at the suggested host.def file and I want to put some 
>>of it into the X section of the book, however I have comments that I'd 
>>like to discuss before I do it.  My comments are in [brackets].  There 
>>are probably changes due to the release of 4.2.  Note that version 4.2 
>>builds fine without any host.def file.  I welcome discussion.
> You've never had to make your own host.def.  However, the default
> host.def is well..default.  It works, but it pays off to make your own
> host.def.
>>#define LinuxMachineDefines  -D__i686 -D__i686__ -D__pentiumpro 
>>[Why should we do this?  The -march switch above should take care of it.]
> Hrm, these look like extra flags to pass to the compiler for extra
> optimization in C code.  Like the they problably have #ifndef's in the
> code which check to see if these are set.. just a guess thou ;)

I did a grep through the entire source tree and I did not find any 
instance of pentium or 686 used as a define.  Note that defines are not 
used for optimization, but only passed to the preprocessor (cpp), so if 
the code never uses them as an ifdef/ifndef/if defined, they are ignored.

   -- Bruce

Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-dev' in the subject header of the message

More information about the blfs-dev mailing list