Re: Predefine _M_IX86 in gcc
Danny Smith <[email protected]>
| Newsgroups | gmane.comp.gnu.mingw.patches |
|---|---|
| Message-ID | <000501c2a749$509d1c00$e190a7cb@DANNY> |
> > I've just looked into the mingw specs, and I saw in the long line > "... march=i486:-D__i486 -D__i486__ ..." > which can go into > "... march=i486:-D__i486 -D__i486__ -D_M_IX86=400 ..." > > However, if you do not wish to predefine _M_IX86 for some reason, > I understand. I don't mind. Its just that it is not high priority for me. I like the existing GCC predifines better because they provide infornation on newer chips: pentium2/3/4, k6, k6-2,k6-3, athlon, athlon-4. I don't know how they all equate to the _M_IX86 defines. If this is high priority for you, you will need to provide patchset against GCC trunk (which will be 3.4 in about 8-9 months time). Those lines in the specs file are generated from defines in i386.h in GCC source. I don't know if Linux and other i386 targets will will want them so the _M_IX86 definitions may have to go in cygwin.h or mingw.h Danny > > Cosmin > ------------------------------------------------------- This SF.NET email is sponsored by: Geek Gift Procrastinating? Get the perfect geek gift now! Before the Holidays pass you by. T H I N K G E E K . C O M http://www.thinkgeek.com/sf/