Maurice Lombardi wrote:
CBFalconer wrote:
Woops - possible problem. I note the "i586" in that name. I am running on a 486. Does it have Pentium only opcodes embedded somewhere?
I do not know. gcc, gpp, f77 and all other compilers of the suite available on simtelnet / djgpp are compiled with this target since gcc-2.95.2 at least. I suppose that it means only that it is better optimized for pentium. But I am not sure.
From the GCC documentation:
: `-mcpu=CPU TYPE' : Assume the defaults for the machine type CPU TYPE when scheduling : instructions. The choices for CPU TYPE are: : : `i386' `i486' `i586' `i686' : `pentium' `pentiumpro' `k6' : : While picking a specific CPU TYPE will schedule things : appropriately for that particular chip, the compiler will not : generate any code that does not run on the i386 without the : `-march=CPU TYPE' option being used. `i586' is equivalent to : `pentium' and `i686' is equivalent to `pentiumpro'. `k6' is the : AMD chip as opposed to the Intel ones.
So as long as GPC is built with `-mcpu=i586' it should be ok, but not necessarily with `-march=i586'.
Frank