cputypestr : array[tcputype] of string[10] = ('', 'PENTIUMM' ); (you can use lowercase…
Jonas Maebe wrote 23 lines
How about AMD processors? Is there specific switches for them?
Luiz

Mailing lists / fpc-devel / 2006-04
5 messages · 4 people ·
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
cputypestr : array[tcputype] of string[10] = ('', 'PENTIUMM' ); (you can use lowercase…
How about AMD processors? Is there specific switches for them?
Luiz
Hello there.
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
Hello there. Warning: You are using the obsolete switch -OG Warning: You are using the…
It is shown in the help pages where the values can be found:
-o<x> change the name of the executable produced to <x> *** press enter ***
-O<x> optimizations:
-O- disable optimizations
-O1 level 1 optimizations (quick and debugger friendly) -O2 level 2 optimizations (-O1 + quick optimizations) -O3 level 3 optimizations (-O2 + slow optimizations) -Oa<x>=<y> set alignment
-Oo[NO]<x> enable or disable optimizations, see fpc -i for possible values
-Op<x> set target cpu for optimizing, see fpc -i for possible values
-Os generate smaller code
How about AMD processors? Is there specific switches for them? Luiz
Luiz Americo Pereira Camara wrote> This also exists for other architectures than 80x86, but I don't > think it makes any difference yet there. How about AMD processors? Is there specific switches for them?
No. But the Pentium3 is quite similar.
Jonas