From: Sven M. H. <pe...@gm...> - 2001-05-18 17:09:41
|
On Fri, Apr 27, 2001 at 09:59:03AM -0600, Brian Paul wrote: > One problem is still outstanding. The src/X86/gen_matypes.c file must > be compiled and executed in order to generate src/X86/matypes.h before > the assembly code can be compiled. You can do this manually: > > cd src/X86 > gcc gen_matypes.c -I.. -I../../include -o gen_matypes > ./gen_matypes > matypes.h > > I don't know how to make configure do this. When I make the MesaLib-3.5 > tarballs I'll include matypes.h so it won't be a problem for typical end > users. We developers and CVS users just have to remember to regenerate > matypes.h whenever src/mtypes.h changes. Woohoo! This is done all nice and clean now! :) (Can you tell I'm proud?) src/X86/Makefile.am now includes a rule for building gen_matypes, one for generating matypes.h through it, as well as the dependency on matypes.h. Means: everything is done automagically once it is needed. Unfortunately the configure script depended on matypes.h in the checks for MMX etc. :o. I built small checks for all the assembler features in m4/assembler.m4 using just one instruction of the particular command set each. On my system this reports all command sets as available. However assembly is not my focus, so someone more comfortable with all that migh want to double-check the test cases. -Sven -- "Would the All-Seeing Eye please look in my direction?" [ KeyID........: 0xC297FEAB ] [ Fingerprint..: FEA5 0F93 7320 3F39 66A5 AED3 073F 2D5F C297 FEAB ] |