Re: Stupid question

From: Jan Engelhardt
Date: Mon Nov 22 2004 - 16:34:02 EST


>>>Silly Q of the day probably, but what do I set in a Makefile for
>>> the -march=option for building on a 233 mhz Pentium 2?
>>
>>Now that's really stupid, but here's the answer:
>>
>>You run `make menuconfig` (or whichever you like) and choose
>> Processor Type "Pentium II".
>
>If I was building a kernel, then yes my question was stupid.
>
>Except I'm not building a kernel, I'm tryng to compile a module to
>drive some truely dumb hardware, reusing code that was last touched
>[...]

Well, take a fresh kernel tree, set the desired CPU type, and then look at the
.config which is generated. Voilà -- in theory ;-)

>Yeah, I'm stupid. Virtually all of my original C coding has been done
>on much smaller architectures, and 15 to 20 years ago. Terminal rust

Never hurts trying to compile a 2.6 for 386SX if the will is strong. :-)



Jan Engelhardt
--
Gesellschaft fÃr Wissenschaftliche Datenverarbeitung
Am Fassberg, 37077 GÃttingen, www.gwdg.de
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/