On Mon Jan 25 10:00:19 EST 2010, lyn...@orthanc.ca wrote: > > i have a little program, aux/cpuid, that gets cpuid > > information for x86 processors. clearly it's not going > > to run on an arm or mips. is there a standard > > trick for preventing such a program from being > > built (and failing)? the hack i currently have is > > objtype=386 as the first line of the mkfile. > > Why not make it build everywhere and have it print a diagnostic for > platforms it doesn't support. E.g.
x86 assembly doesn't often assemble with an arm assembler. :-) - erik