Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2002-06

target processor

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Andreas K. Foerster

Hello,

one thing is still unclear for me.
You can specify the target processor, for example with -Op3. This should cause fpc to optimize the code for that processor.

What stays unclear in the docu is, if it also produces processor specific code.

I mean, will a program compiled with -Op3 still be runnable on a 386? If not, I will set -Op1 as default in my config.

Tschuess Andreas
Peter Vreman
to Andreas K. Foerster
you wrote 11 lines
Hello, one thing is still unclear for me. You can specify the target processor, for example with -Op3. This should cause fpc to optimize the code for that processor. What stays unclear in the docu is, if it also produces processor specific code. I mean, will a program compiled with -Op3 still be runnable on a 386? If not, I will set -Op1 as default in my config.

-Op3 will generate code optimzied for the processor, but not use processor specific code so the program can still be run on a i386

Peter