(assumptions: we are talking about Gnu Pascal Compiler...?)
On 6 May 2002 at 18:05, Prof Abimbola Olowofoyeku wrote:
> On 6 May 2002 at 10:50, Earnie Boyd wrote:
> > Great, but I really need those sources. However, you do state that it's
> > an RC snapshot so I'll let it go.
> Ok. I can still upload them later if you want.
> > BTW, -march and -mcpu for mingw are
> > mutually inclusive so you actually did a -march=i686 based on what you
> > state in the notes.
> Ok - this is the million dollar question. What should I have in CFLAGS
> when building? This is what I tend to do:
> make CFLAGS="-s -O2 -march=i486 -mcpu=i686 -fomit-frame-pointer
> -ffast-math -fexpensive-optimizations"
> So for Mingw I can't do this. On the other hand, does anyone use a 386
> to run Windows 9x/ME/NT/2K/XP?
Since i386 is your basic generic reference, that would be the best choice.
> I can conceive of people still using 486
> based PCs - so should I use "-mcpu=i486"?
> Or should I just stick with
> the i386?
> I wouldn't want to release binaries for i386,i 486, i586 and
> i686. I think I probably should use the same flags as you used for the
> Mingw 1.1 release.
If you're just wanting to release only one binary ("one size fits all"sort of thing), then i386 should be used.
If you are wanting and/or needing to support something like MMX, then set to -mpentium or -mcpu=i586 -
march=i586. MMX opcodes, when using i386 or i486 for -march and -mcpu generate NOPS. Latest versions of Intel
MMX opcodes will always be on the latest (Pentium, PentiumPro).
If you are not concerned about supporting MMX opcodes or any specific opcodes that can only be found on
an i686 or other pentium specific Intel processor, then you can use either i386 or i486 and you will be fine.
I think i386 would work just as well as anything else.
> Best regards, The Chief
> Prof. Abimbola A. Olowofoyeku (The African Chief)
> web: http://www.bigfoot.com/~African_Chief
> email: African_Chief@...
> Have big pipes? SourceForge.net is looking for download mirrors. We supply
> the hardware. You get the recognition. Email Us: bandwidth@...
> MinGW-dvlpr mailing list