[fpc-devel] About new (2.1.1) optimizations switches

Jonas Maebe jonas.maebe at elis.ugent.be
Tue Apr 18 15:34:43 CEST 2006


On 18 apr 2006, at 15:18, Okulov Rostislav wrote:

>
> Warning: You are using the obsolete switch -OG
> Warning: You are using the obsolete switch -Op<nr>, please use - 
> Op<name>
> Nice.
>
> What name should I use now to compile under needed processor?

    cputypestr : array[tcputype] of string[10] = ('',
      '386',
      'PENTIUM',
      'PENTIUM2',
      'PENTIUM3',
      'PENTIUM4',
      'PENTIUMM'
    );

(you can use lowercase too)

This also exists for other architectures than 80x86, but I don't  
think it makes any difference yet there.


Jonas



More information about the fpc-devel mailing list